fastlane-plugin-sentry 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e94534abf55ab666c3114f03a3a1673accc6b8990603475eefdb9d74e865f8c
4
- data.tar.gz: 3a4ab1661bd1bd22b49146edda0babb877571226c2e03cec8a627b7f2b6884d3
3
+ metadata.gz: 6c4d8d0d96190c23c5d93dcf572f5da549e30620aae27b3cbc1f9795f5bf558b
4
+ data.tar.gz: f2c400963eadad284b73e0828df052206548c00f0372f9d8a11325e658eb7c8f
5
5
  SHA512:
6
- metadata.gz: '09a2fcb0176e61b7a544babf58dfc60d8622b684d1ef45c3670da424910bbad7d39d2e340a495fab409ba37926ff9ccea9a61f6855f490ac30e65fa1f48cc005'
7
- data.tar.gz: ca96667484f0a4501c79224966e6e48d12354006b8686119de42df26324c096b75fa6175626a3a02bb26383baeee03c4c43327e6a1bc68d71924c0b9748a2023
6
+ metadata.gz: 3ffa138e283af8e978273469240928544055658a83da4bdc9f71f250036d83cd238bc233651b7b3216d7d0ad1952949cf5726f21cc1d9b835ce97b8dab6fba09
7
+ data.tar.gz: '090b1cc1254763ba2ed35815e098eac1325251c615554885bdf29682393b524b0d8e9a9da9226aa2b46324c5105100af4ff5bcc25b786e17addb968455de9163'
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,65 @@
1
+ module Fastlane
2
+ module Actions
3
+ class SentryUploadSnapshotsAction < Action
4
+ def self.run(params)
5
+ Helper::SentryConfig.parse_api_params(params)
6
+
7
+ path = params[:path]
8
+ app_id = params[:app_id]
9
+
10
+ UI.user_error!("Path does not exist: #{path}") unless File.exist?(path)
11
+ UI.user_error!("Path is not a directory: #{path}") unless File.directory?(path)
12
+
13
+ command = [
14
+ "build",
15
+ "snapshots",
16
+ "--app-id",
17
+ app_id,
18
+ path
19
+ ]
20
+
21
+ Helper::SentryHelper.call_sentry_cli(params, command)
22
+ UI.success("Successfully uploaded snapshots!")
23
+ end
24
+
25
+ #####################################################
26
+ # @!group Documentation
27
+ #####################################################
28
+
29
+ def self.description
30
+ "Upload snapshot images to Sentry (EXPERIMENTAL)"
31
+ end
32
+
33
+ def self.details
34
+ "This action allows you to upload snapshot images to Sentry to check for visual regressions. NOTE: This features is experimental and might be changed in future releases."
35
+ end
36
+
37
+ def self.available_options
38
+ Helper::SentryConfig.common_api_config_items + [
39
+ FastlaneCore::ConfigItem.new(key: :path,
40
+ description: "Path to the folder containing snapshot images",
41
+ optional: false,
42
+ verify_block: proc do |value|
43
+ UI.user_error! "Could not find path '#{value}'" unless File.exist?(value)
44
+ UI.user_error! "Path is not a directory: '#{value}'" unless File.directory?(value)
45
+ end),
46
+ FastlaneCore::ConfigItem.new(key: :app_id,
47
+ description: "Application identifier",
48
+ optional: false)
49
+ ]
50
+ end
51
+
52
+ def self.return_value
53
+ nil
54
+ end
55
+
56
+ def self.authors
57
+ ["sentry"]
58
+ end
59
+
60
+ def self.is_supported?(platform)
61
+ [:ios, :android].include?(platform)
62
+ end
63
+ end
64
+ end
65
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "2.2.0"
3
+ VERSION = "2.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-04 00:00:00.000000000 Z
11
+ date: 2026-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os
@@ -136,6 +136,7 @@ files:
136
136
  - lib/fastlane/plugin/sentry/actions/sentry_set_commits.rb
137
137
  - lib/fastlane/plugin/sentry/actions/sentry_upload_build.rb
138
138
  - lib/fastlane/plugin/sentry/actions/sentry_upload_proguard.rb
139
+ - lib/fastlane/plugin/sentry/actions/sentry_upload_snapshots.rb
139
140
  - lib/fastlane/plugin/sentry/actions/sentry_upload_sourcemap.rb
140
141
  - lib/fastlane/plugin/sentry/helper/sentry_config.rb
141
142
  - lib/fastlane/plugin/sentry/helper/sentry_helper.rb