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 +4 -4
- data/bin/sentry-cli-Darwin-universal +0 -0
- data/bin/sentry-cli-Linux-i686 +0 -0
- data/bin/sentry-cli-Linux-x86_64 +0 -0
- data/bin/sentry-cli-Windows-i686.exe +0 -0
- data/bin/sentry-cli-Windows-x86_64.exe +0 -0
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_snapshots.rb +65 -0
- data/lib/fastlane/plugin/sentry/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c4d8d0d96190c23c5d93dcf572f5da549e30620aae27b3cbc1f9795f5bf558b
|
|
4
|
+
data.tar.gz: f2c400963eadad284b73e0828df052206548c00f0372f9d8a11325e658eb7c8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ffa138e283af8e978273469240928544055658a83da4bdc9f71f250036d83cd238bc233651b7b3216d7d0ad1952949cf5726f21cc1d9b835ce97b8dab6fba09
|
|
7
|
+
data.tar.gz: '090b1cc1254763ba2ed35815e098eac1325251c615554885bdf29682393b524b0d8e9a9da9226aa2b46324c5105100af4ff5bcc25b786e17addb968455de9163'
|
|
Binary file
|
data/bin/sentry-cli-Linux-i686
CHANGED
|
Binary file
|
data/bin/sentry-cli-Linux-x86_64
CHANGED
|
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
|
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.
|
|
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-
|
|
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
|