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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14819de73b2c4e3ab73586a33d632540847b3b3cd9f558a885d615335c7186e7
4
- data.tar.gz: 799653d7d6d8ace2f81059f6f6ee141a9f62741aa9781905eaa4f0771c1bc8f2
3
+ metadata.gz: 37a71479388a1127eb42eecbe73107e86816fc866a485f88e9593e157a46dfef
4
+ data.tar.gz: c036ae517449c775e0ceff788fdf41b94ef957e4924bc4c115cb95ae9648cd95
5
5
  SHA512:
6
- metadata.gz: 1cf9e75649bdec9cb97c96f6f0708416275695713978ef53a726edcb48833f8a62ab95abf3399cd636d1e463b8e955d8ec73c03897934b50b559f51c822b6adb
7
- data.tar.gz: 6c262a35b310a7bb25e49422b90fcddf6ec7aa9124b619951e80765f80c53e13ef56fa7b740baeee33d8b8283e0fe636ff023b5fd6a2eb99410b898e6728b854
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastlaneExt
4
- VERSION = '1.0.11'
4
+ VERSION = '1.0.12'
5
5
  end
data/lib/fastlane-ext.rb CHANGED
@@ -5,6 +5,7 @@ require_relative 'fastlane-ext/telegram'
5
5
  require_relative 'fastlane-ext/app_release'
6
6
  require_relative 'fastlane-ext/upload_dsym'
7
7
  require_relative 'fastlane-ext/upload_to_s3'
8
+ require_relative 'fastlane-ext/sync_git_tags'
8
9
 
9
10
  module FastlaneExt
10
11
  end
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.11
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-01-11 00:00:00.000000000 Z
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