fastlane-ext 1.0.11 → 1.0.12
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/lib/fastlane-ext/sync_git_tags.rb +46 -0
- data/lib/fastlane-ext/version.rb +1 -1
- data/lib/fastlane-ext.rb +1 -0
- 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: 37a71479388a1127eb42eecbe73107e86816fc866a485f88e9593e157a46dfef
|
4
|
+
data.tar.gz: c036ae517449c775e0ceff788fdf41b94ef957e4924bc4c115cb95ae9648cd95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e214cc3b3755c390db7f5c821ffd9a96398c2771a04c504c957e4c3be7a3708b01b9b8b89573e23f917fc4d54a604b4751b56445a7d0861245eb7185e6b837
|
7
|
+
data.tar.gz: 491dc2967d93e3a54ec3cc278710ae52e12524927f1f4e1077f23797ad2121cdce4506763a1f0e47bf70b5ddb25b7d0d7516fa476ddd2952c24e3d5c388f036b
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class SyncGitTags < Action
|
6
|
+
include FastlaneExt
|
7
|
+
|
8
|
+
def self.run(_params)
|
9
|
+
rm_cmd = 'git tag -d $(git tag -l)'
|
10
|
+
fetch_cmd = 'git fetch --prune --tags'
|
11
|
+
raise "Failed to remove tags! cmd: '#{rm_cmd}'" unless system(rm_cmd)
|
12
|
+
raise "Failed to fetch tags! cmd: '#{fetch_cmd}'" unless system(fetch_cmd)
|
13
|
+
end
|
14
|
+
|
15
|
+
#####################################################
|
16
|
+
# @!group Documentation
|
17
|
+
#####################################################
|
18
|
+
|
19
|
+
def self.description
|
20
|
+
'Synchronize git tags with remote'
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.details
|
24
|
+
'Synchronize git tags with remote'
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.available_options
|
28
|
+
[]
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.example_code
|
32
|
+
[
|
33
|
+
'sync_git_tags'
|
34
|
+
]
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.authors
|
38
|
+
%w[sroik]
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.is_supported?(_platform)
|
42
|
+
true
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/fastlane-ext/version.rb
CHANGED
data/lib/fastlane-ext.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sroik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -146,6 +146,7 @@ files:
|
|
146
146
|
- lib/fastlane-ext/app_release.rb
|
147
147
|
- lib/fastlane-ext/app_release_manager.rb
|
148
148
|
- lib/fastlane-ext/project_controller.rb
|
149
|
+
- lib/fastlane-ext/sync_git_tags.rb
|
149
150
|
- lib/fastlane-ext/telegram.rb
|
150
151
|
- lib/fastlane-ext/telegram_notifier.rb
|
151
152
|
- lib/fastlane-ext/upload_dsym.rb
|