orientepodspecpush 0.0.5 → 0.0.6

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: 49f215ab6185ba7407b060d7020d05105ce6564c52ac20f4af3f32c6ea3cdfcc
4
- data.tar.gz: 35ed5d6d828855665c4b3cc6172c2ea95a7aa376346bf565d8098ff617187677
3
+ metadata.gz: 011c7d14d6321354789c59f519fe898194fdbe456a4f54d59446482ac575cbac
4
+ data.tar.gz: dfe138e4890109b00f466dddf2ae2688f74987b417a2d5f4e56987c8678862e6
5
5
  SHA512:
6
- metadata.gz: bf59d2a6c1fdee76284558fa8eaee92df70bfa635e6a40e27b2e9d184b5ea90714520f4da67c3674562eac1a9ee2b33ad5f19ae815e67683bedc1cc076458b9a
7
- data.tar.gz: 5d8cf77d75f1bdac6126c6bf0bc88ba43604255973156603bb3314056df24d584fbec5cd77e3d441e5d26dd70ddc6c45485c4ae07dc384f54a491fb018e19f67
6
+ metadata.gz: d4c9d1f7ac8c87a5038e90f0135390b32edbfb82e8100ffe132f0501f01aa0972e869ba655b3b7773ccf4cc351efbb931a61fb968b4c8e9bf283e5eae0055382
7
+ data.tar.gz: 164df3f003c4e00700bc809b006f546081ffcc5e059a19cd0b5bfccfafa66152db0876e05c9bc732cc0c8cf4f130e6e0cdc83a2459fe06095f98fe0afa0ab237
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -91,6 +91,12 @@ module Orientepodspecpush
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
+
95
+ cmd = []
96
+ cmd << ['bundle exec'] if shouldUseBundleExec
97
+ cmd << ["pod package #{specfile} --force"]
98
+
99
+ system cmd.join(' ')
94
100
  system "git add ."
95
101
  system "git commit -m 'upload framework'"
96
102
 
@@ -156,7 +162,7 @@ module Orientepodspecpush
156
162
  # Check
157
163
  ensureGitClean
158
164
  ensureSpecfile
159
- packageCode
165
+ # packageCode
160
166
 
161
167
  # User input
162
168
  updateVersion
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang