cocoapods-sync-podspecs 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pod/command/push-tag.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1b2b81372c2ca12b4259f1a260873f3de93e8649945c39ae3cb891787d65ea
|
4
|
+
data.tar.gz: 6b1372504d4f1e31b1f124da1a32a4c7fa117b53b89cfffc707c4f1c00bfeab8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0413886e0cccff9a7bb3d669a90df6c1f34e28d432b19c117f8b4cd1c9fd5d2089468bfd908538271c37089f1f504c39afaf1002e372b5d1cd4531bf24c131c9'
|
7
|
+
data.tar.gz: d5b2d4d06718c4f40614b87932270f3ee7b9cc2b48f9c596b37c5a53e1994cad8b8b85ee607e21749defcb9c14b42a13fba96ce17f5755d6c6abcf6ff566bb08
|
data/lib/pod/command/push-tag.rb
CHANGED
@@ -17,12 +17,12 @@ module Pod
|
|
17
17
|
[
|
18
18
|
['--local-only', 'Does not perform the step of pushing REPO to its remote'],
|
19
19
|
['--ignore-exists', 'Ignore exists tag'],
|
20
|
-
['--force
|
20
|
+
['--force', 'Force create new tag'],
|
21
21
|
].concat(super)
|
22
22
|
end
|
23
23
|
|
24
24
|
def initialize(argv)
|
25
|
-
@
|
25
|
+
@force_create_tag = argv.flag?('force')
|
26
26
|
@ignore_exists = argv.flag?('ignore-exists')
|
27
27
|
@local_only = argv.flag?('local-only')
|
28
28
|
@tag_version = argv.shift_argument
|
@@ -73,9 +73,9 @@ module Pod
|
|
73
73
|
|
74
74
|
pod_repo_git('tag', '-a', @tag_version, '-m', message)
|
75
75
|
push_tag_repo
|
76
|
-
elsif @
|
77
|
-
check_repo_status(
|
78
|
-
update_repo(
|
76
|
+
elsif @force_create_tag
|
77
|
+
check_repo_status(name, @current_repo_dir)
|
78
|
+
update_repo(name, @current_repo_dir)
|
79
79
|
|
80
80
|
pod_repo_git('tag', '-a', @tag_version, '-m', message)
|
81
81
|
push_tag_repo
|