cocoapods-tuya-oss-publish 0.1.2 → 0.1.4

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
- SHA256:
3
- metadata.gz: ff002900ea106cb739afc3a47fbda460a3d98da35ffa2ff7c4f3947e331fbdfc
4
- data.tar.gz: 649d040eaee198e9414046c2bdd7d093cee4e0f7ed7f9d6aabb287d3150814d6
2
+ SHA1:
3
+ metadata.gz: c97f0d2e5d0d8edd69c1ba80b50c557260689dc5
4
+ data.tar.gz: a5a10c3081b2fa9e3b515bce4a7c5082b8bfdb53
5
5
  SHA512:
6
- metadata.gz: 54e58b58ba0bdaf5877fe72c2c365bde7e40ab203edd2dea3303cca73ca5119a1254d4397bacef7c18f6c09a50ad17855bdce2dea78463ad5b323a5dc0c0d0e2
7
- data.tar.gz: 520359c1753c402f057061b5ccbfc2882101a4fbf07b40db393f9791ec584a5b3344a248a8fe7e2f4d06694a355bf423c74efead89f4737c0274e06e1e94f3f7
6
+ metadata.gz: 89359fa2d03fdb72db52ab479eb5c8d292f3caa59a7a02eecdfcc458cb7a4809111e7ef669bd72cfcd84d274a0ec010e187a6e3d37176eb33215a14b6744a791
7
+ data.tar.gz: 6306328b3ead8760ba961099bcbe0d8e7d427396271c934635936392bd07af36e117a18d203673e834b119d776639f46ad0ea95c4b8050aef994e64e75957a17
@@ -206,12 +206,11 @@ module Pod
206
206
  repo_spec_path = "#{repo_spec_dir}/#{spec.name}.podspec.json"
207
207
 
208
208
  # repo update
209
- exit_code = system("""cd #{repo_spec_dir} \
209
+ system("""cd #{repo_spec_dir} \
210
210
  && git fetch \
211
211
  && REPO_COMMIT_HASH=`git rev-parse origin/master` \
212
- && git reset --hard $REPO_COMMIT_HASH
213
- """)
214
- if exit_code != 0
212
+ && git reset --hard $REPO_COMMIT_HASH""")
213
+ if $?.exitstatus != 0
215
214
  raise 'pod repo update failed.'
216
215
  end
217
216
 
@@ -221,12 +220,11 @@ module Pod
221
220
  File.write(repo_spec_path, spec.to_pretty_json)
222
221
 
223
222
  # commit
224
- exit_code = system("""cd #{repo_spec_dir} \
223
+ system("""cd #{repo_spec_dir} \
225
224
  && git add . \
226
225
  && git commit -m \"⚠️ [Add] #{spec.name} (#{spec.version})\" \
227
- && git push
228
- """)
229
- if exit_code != 0
226
+ && git push""")
227
+ if $?.exitstatus != 0
230
228
  raise 'pod repo push failed.'
231
229
  end
232
230
 
@@ -1,3 +1,3 @@
1
1
  module CocoapodsTuyaOssPublish
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tuya-oss-publish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 高森
@@ -108,7 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.0.3
111
+ rubyforge_project:
112
+ rubygems_version: 2.6.14
112
113
  signing_key:
113
114
  specification_version: 4
114
115
  summary: A longer description of cocoapods-tuya-oss-publish.