orientepodspecpush 0.0.6 → 0.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 011c7d14d6321354789c59f519fe898194fdbe456a4f54d59446482ac575cbac
4
- data.tar.gz: dfe138e4890109b00f466dddf2ae2688f74987b417a2d5f4e56987c8678862e6
3
+ metadata.gz: f352ed76358223a11392b206a64d702041c8adbc1dec3897200ceb7a8a07af3a
4
+ data.tar.gz: afa9f2a7982b805e08640fb578ff6a0f0a4c8f0a5e7d5f42ff4d240a35530b38
5
5
  SHA512:
6
- metadata.gz: d4c9d1f7ac8c87a5038e90f0135390b32edbfb82e8100ffe132f0501f01aa0972e869ba655b3b7773ccf4cc351efbb931a61fb968b4c8e9bf283e5eae0055382
7
- data.tar.gz: 164df3f003c4e00700bc809b006f546081ffcc5e059a19cd0b5bfccfafa66152db0876e05c9bc732cc0c8cf4f130e6e0cdc83a2459fe06095f98fe0afa0ab237
6
+ metadata.gz: 336dabe93b625942e2dee1399f6829c795ee8f6fe5f13a6352a1ac3ca62ef243b6e2cd7388759ddc30f3e162bf039523cf13d35d024fdd76eddf8dd060a8b319
7
+ data.tar.gz: b865fc91c285be2e9857d0239efae52e6e71eff48cee0c1e852bc375e2be5d0e4385f86794c3ac6fb962c842c6a8d406abd639741fde7bafeb4b81fac7c357dd
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -85,20 +85,22 @@ module Orientepodspecpush
85
85
  # system "git add ."
86
86
  # system "git commit -m 'upload framework'"
87
87
  #
88
- # system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
89
- # system "git push --tags"
88
+ system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
89
+ system "git push --tags"
90
90
 
91
91
  contents = File.read(specfile)
92
92
  oldVersion = Regexp.new('[0-9.]{2,6}').match(Regexp.new('(s.version)\s*=.*\n').match(contents).to_s).to_s
93
93
  File.write(specfile, contents.sub!(oldVersion, @podVersion))
94
94
 
95
- cmd = []
96
- cmd << ['bundle exec'] if shouldUseBundleExec
97
- cmd << ["pod package #{specfile} --force"]
98
-
99
- system cmd.join(' ')
100
- system "git add ."
101
- system "git commit -m 'upload framework'"
95
+ # cmd = []
96
+ # cmd << ['bundle exec'] if shouldUseBundleExec
97
+ # cmd << ["pod package #{specfile} --force"]
98
+ #
99
+ # system cmd.join(' ')
100
+ # system "git add ."
101
+ # system "git commit -m 'upload framework'"
102
+ # system "git push origin master"
103
+
102
104
 
103
105
  system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
104
106
  system "git push --tags"
@@ -127,6 +129,15 @@ module Orientepodspecpush
127
129
  elsif success == false && withWarnings == true
128
130
  puts "Even with warnings, something is wrong. Look for any errors".red
129
131
  rollbackTag
132
+ else
133
+ cmd = []
134
+ cmd << ['bundle exec'] if shouldUseBundleExec
135
+ cmd << ["pod package #{specfile} --force"]
136
+
137
+ system cmd.join(' ')
138
+ system "git add ."
139
+ system "git commit -m 'upload framework'"
140
+ system "git push origin master"
130
141
  end
131
142
  end
132
143
 
@@ -172,7 +183,7 @@ module Orientepodspecpush
172
183
  @pushCmd = makePushCmd(opts)
173
184
 
174
185
  # execute
175
- executeLint(false)
186
+ x(false)
176
187
  executePush
177
188
 
178
189
  # Tidy up this repo!!
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.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang