orientepodspecpush 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba1a8d1bcf75644ae68cf699f690598011d544076a1735936582b9201e1365a
4
- data.tar.gz: 4d3fd06e823bf169b8cb5913f91dcabf7e632307b3bb239ccc44b7b85af409ea
3
+ metadata.gz: 8ce2eacefd238a8078072af3a2ae93e246b5584f3f340a5a3f678c071f068bef
4
+ data.tar.gz: bb757752cb37a65d0e30db0f63d8c632d65b4e68d3efc6778b66ec9fc02ee921
5
5
  SHA512:
6
- metadata.gz: d4c2500ba12684ebc31cd9619f7762550725872d148d0cf49452a4c46e4ffd40fefa293b6389d79d0364b29571ebd893d5708d3506afee76bf07b9f277c83b7b
7
- data.tar.gz: 033e9e0849f66c90f6b3e36a1ea938aa04c264428fa4ec4f56fee6f4b4a80bf2ab07c720564eab9f6ed457bebf9458ecb738d2bce94fa1664b77b617d5cac13d
6
+ metadata.gz: 7f245e4f362dc8eacf9af3b41baff87e87aaf92022ef243fe6dca5bf03d2aadf4e3692056d2c532c2fa65765ea39630660edbc09991bc534e2e1277cd157f876
7
+ data.tar.gz: 76c67d6c2eebaca7a0c9832c6482b3ee86a5ef0fcd3e2bed15e29dfd6c4907b94ea30eb5638d4c0e126ff3b7a2180ddaa7801c1689e14215b4cf323cb3b6dfbd
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -101,9 +101,9 @@ module Orientepodspecpush
101
101
  #
102
102
 
103
103
  if opts[:versionCommitMsg] == nil
104
- system "git tag -a #{opts[:version]} -m 'add new tag'"
104
+ system "git tag -a #{opts[:tag]} -m 'add new tag'"
105
105
  else
106
- system "git tag -a #{opts[:version]} -m '#{opts[:versionCommitMsg]}'"
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 :version, "version of the repo push to", :type => :string
186
- opt :versionCommitMsg, "commit message of this version", :type => :string
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 "version:#{opts[:version]}"
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 :version, "version must be provided" if opts[:version] == nil
201
+ Trollop::die :tag, "tag must be provided" if opts[:tag] == nil
202
202
 
203
203
  Dir.chdir(opts[:workspace]) do
204
204
  # Check
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orientepodspecpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang