orientepodspecpush 0.2.4 → 0.2.5
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/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +6 -6
- 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: 8ce2eacefd238a8078072af3a2ae93e246b5584f3f340a5a3f678c071f068bef
|
4
|
+
data.tar.gz: bb757752cb37a65d0e30db0f63d8c632d65b4e68d3efc6778b66ec9fc02ee921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f245e4f362dc8eacf9af3b41baff87e87aaf92022ef243fe6dca5bf03d2aadf4e3692056d2c532c2fa65765ea39630660edbc09991bc534e2e1277cd157f876
|
7
|
+
data.tar.gz: 76c67d6c2eebaca7a0c9832c6482b3ee86a5ef0fcd3e2bed15e29dfd6c4907b94ea30eb5638d4c0e126ff3b7a2180ddaa7801c1689e14215b4cf323cb3b6dfbd
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -101,9 +101,9 @@ module Orientepodspecpush
|
|
101
101
|
#
|
102
102
|
|
103
103
|
if opts[:versionCommitMsg] == nil
|
104
|
-
system "git tag -a #{opts[:
|
104
|
+
system "git tag -a #{opts[:tag]} -m 'add new tag'"
|
105
105
|
else
|
106
|
-
system "git tag -a #{opts[:version]} -m '#{opts[:
|
106
|
+
system "git tag -a #{opts[:version]} -m '#{opts[:tagCommitMsg]}'"
|
107
107
|
end
|
108
108
|
# system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
|
109
109
|
system "git push --tags"
|
@@ -182,8 +182,8 @@ module Orientepodspecpush
|
|
182
182
|
opt :workspace, "Path to cocoapod workspace", :type => :string
|
183
183
|
opt :sources, "Comma delimited list of private repo sources to consider when linting private repo. Master is included by default so private repos can source master", :type => :string
|
184
184
|
opt :private, "If set, assume the cocoapod is private and skip public checks"
|
185
|
-
opt :
|
186
|
-
opt :
|
185
|
+
opt :tag, "tag of the repo push to", :type => :string
|
186
|
+
opt :tagCommitMsg, "commit message of this tag", :type => :string
|
187
187
|
opt :lint, "pod spec lint 情况下所需要的参数,需要用引号括起来,例如'--allow-warnings --sources=some source address'",:type => :string
|
188
188
|
opt :package, "pod package 情况下所需要的参数,需要用引号括起来,例如'--force --no-mangle'",:type => :string
|
189
189
|
opt :push, "pod repo push 情况下所需要的参数,需要用引号括起来,例如'--verbose --use-libraries'",:type => :string
|
@@ -194,11 +194,11 @@ module Orientepodspecpush
|
|
194
194
|
puts "package:#{opts[:package]}"
|
195
195
|
puts "push:#{opts[:push]}"
|
196
196
|
puts "noPackage:#{opts[:noPackage]}"
|
197
|
-
puts "
|
197
|
+
puts "tag:#{opts[:tag]}"
|
198
198
|
# Need these two
|
199
199
|
Trollop::die :specRepo, "Spec Repo must be provided" if opts[:specRepo] == nil
|
200
200
|
Trollop::die :workspace, "Workspace path must be provided" if opts[:workspace] == nil
|
201
|
-
Trollop::die :
|
201
|
+
Trollop::die :tag, "tag must be provided" if opts[:tag] == nil
|
202
202
|
|
203
203
|
Dir.chdir(opts[:workspace]) do
|
204
204
|
# Check
|