orientepodspecpush 0.2.7 → 0.2.8

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: 93649c475fae3876dd45feff6e84808aa9e8ce1f0a536c1dd227a90566e17d24
4
- data.tar.gz: 9b01b6af05912aaeac16f504f3fcd843cc10a10f91d6934cff01bda9379a240b
3
+ metadata.gz: 83420d1d96819b819ea065bed446920c90c5093c5be611cab3cdccf37b9a56e7
4
+ data.tar.gz: 835ffa01c8447567da45cab791905c5a7e2b90aa826a83281fe90c343b1b67a1
5
5
  SHA512:
6
- metadata.gz: cd273ddc19ad105da04590342215a075dad762c1999a02ec1169b1761ebf3c6cf3a66133251e746fd985952a2b165ec69a55395fd3aa09a0772ea5db97188bcf
7
- data.tar.gz: ec5aa9ecfbd4549699dbb52f817ca2a01684d096b4bec50e760f6ea6da02ea80700389a0b6c391cd0cabf174e0e89961d046b6a2110ad724911a534fe2b246ac
6
+ metadata.gz: bda86eb647b59213695ec52087219220a441f4ade9e8bdb58e37583cfec5788bcdb59fb11a3eb67d69038bac71253f8a5f3c4c03bd11712016192f28948fdb07
7
+ data.tar.gz: 336620790e19f2a4b5a69ca63c7a3bc1bca9c27640f3f9c666fb52ae2bb2645f21b1552c309af36a80be4393e939ccbeb1a5d919fcd6bcdb84a8829f8afe0839
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -100,16 +100,18 @@ module Orientepodspecpush
100
100
  #
101
101
 
102
102
  if @podVersionMessag == nil
103
- system "git tag -a #{@podVersion} -m 'add new tag'"
103
+ # system "git tag -a #{@podVersion} -m 'add new tag'"
104
+ system "git tag -a 0.2.2.2 -m 'add new tag'"
104
105
  else
105
- system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
106
+ # system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
107
+ system "git tag -a 0.2.2.3 -m 'test 0.2.2.3'"
106
108
  end
107
109
  # system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
108
110
  system "git push --tags"
109
111
 
110
112
  contents = File.read(specfile)
111
113
  oldVersion = Regexp.new('[0-9.]{2,6}').match(Regexp.new('(s.version)\s*=.*\n').match(contents).to_s).to_s
112
- File.write(specfile, contents.sub!(oldVersion, @podVersion))
114
+ File.write(specfile, contents.sub!(oldVersion, 0.2.2.3))
113
115
 
114
116
  # cmd = []
115
117
  # cmd << ['bundle exec'] if shouldUseBundleExec
@@ -206,8 +208,11 @@ module Orientepodspecpush
206
208
  # packageCode
207
209
 
208
210
  # User input
209
- @podVersion = '#{opts[:tag]}'
210
- @podVersionMessage = '#{opts[:tagCommitMsg]}'
211
+
212
+ # "#{opts[:lint]}"
213
+ @podVersion = "#{opts[:tag]}"
214
+ puts "tag--------'#{@podVersion}'"
215
+ # @podVersionMessage = "#{opts[:tagCommitMsg]}"
211
216
  updateVersion
212
217
 
213
218
  # Cmds
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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang