orientepodspecpush 0.2.7 → 0.2.8
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 +10 -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: 83420d1d96819b819ea065bed446920c90c5093c5be611cab3cdccf37b9a56e7
|
4
|
+
data.tar.gz: 835ffa01c8447567da45cab791905c5a7e2b90aa826a83281fe90c343b1b67a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bda86eb647b59213695ec52087219220a441f4ade9e8bdb58e37583cfec5788bcdb59fb11a3eb67d69038bac71253f8a5f3c4c03bd11712016192f28948fdb07
|
7
|
+
data.tar.gz: 336620790e19f2a4b5a69ca63c7a3bc1bca9c27640f3f9c666fb52ae2bb2645f21b1552c309af36a80be4393e939ccbeb1a5d919fcd6bcdb84a8829f8afe0839
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -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,
|
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
|
-
|
210
|
-
|
211
|
+
|
212
|
+
# "#{opts[:lint]}"
|
213
|
+
@podVersion = "#{opts[:tag]}"
|
214
|
+
puts "tag--------'#{@podVersion}'"
|
215
|
+
# @podVersionMessage = "#{opts[:tagCommitMsg]}"
|
211
216
|
updateVersion
|
212
217
|
|
213
218
|
# Cmds
|