shopify_empty_gem 0.1.5 → 0.1.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: d441aad9a3c2ec985445da8160baa714b749991705f0b97a96dcf1f363d69f5a
4
- data.tar.gz: ec104dcffea3c3b10446b144217180a2f46b1cc183e618bf90eb577ab1c72fd8
3
+ metadata.gz: f70b5549b708251bec3ef8b9697cd084ed36f981ecd9d49fa244bbc8e828b48b
4
+ data.tar.gz: 0e4530261d7e140f312621a6d7e163cb0c605e51a2acb4ca7b2394e433164ecd
5
5
  SHA512:
6
- metadata.gz: d9f0dca6df745bc1e421b1825192b95264bb2477d9b8502e0ab39591ea9ac02aea0fbd8226a61632ee1cbdc931bb1dabc3ed90a452d890d22e1446c18577c580
7
- data.tar.gz: 5f954188bb4ff6576f5ad27c8af44bf988cfb7b312afc67b458da437383defcc28fee8d642101569770a77b5999624ce3a77e78665aae6d67156fede02b0b99d
6
+ metadata.gz: 3e153a1167a12ad7d7024ccd1deb3f623502ffa321b60b24bc5de12f60a3dd5fd14ae2b8d57ce666f0b730a5fe8afd0b879d8fb67ab092f9b92d19e0af7377e2
7
+ data.tar.gz: 8be3592da63974594d1a4ee39feced9a3ae122f688e8ccce32d0f72c86924fcc523a5981fdc5ebe6c0240005f25f3910d16090691c0b9bb4938627c5905d8559
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_empty_gem (0.1.5)
4
+ shopify_empty_gem (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module ShopifyEmptyGem
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -129,15 +129,22 @@ else
129
129
  # Since we've already tagged and built the gem with `bundle exec gem_push=no rake release`, the last step is to push the gem
130
130
  # Instead of re-building and re-tagging the gem, we'll complete the last step of the `rake release` command => (gem push)
131
131
  puts "💪 Preparing to release gem"
132
- puts "🎉 Running 'bundle exec rake release' with otp code #{temp_otp_code}"
133
132
 
134
- system(
135
- {'GEM_HOST_OTP_CODE' => temp_otp_code.to_s},
136
- 'bundle',
137
- 'exec',
138
- 'rake',
139
- 'release'
140
- )
133
+ puts "❓ GEM_HOST_OTP_CODE value is: #{ENV['GEM_HOST_OTP_CODE']}"
134
+ puts "🤝 Setting environment variable"
135
+ ENV['GEM_HOST_OTP_CODE'] = temp_otp_code
136
+ puts "✅ GEM_HOST_OTP_CODE value is updated to: #{ENV['GEM_HOST_OTP_CODE']}"
137
+
138
+ puts "🎉 Running 'bundle exec rake release' with otp code #{temp_otp_code}"
139
+ system('bundle', 'exec', 'rake', 'release')
140
+
141
+ # system(
142
+ # {'GEM_HOST_OTP_CODE' => temp_otp_code.to_s},
143
+ # 'bundle',
144
+ # 'exec',
145
+ # 'rake',
146
+ # 'release'
147
+ # )
141
148
 
142
149
  # TODO: What if OTP has expired? Add mechanism to retry.
143
150
  end
@@ -1,4 +1,4 @@
1
1
  deploy:
2
2
  override:
3
- - lib/snippets/release-gem-with-otp shopify_empty_gem.gemspec 249493
3
+ - lib/snippets/release-gem-with-otp shopify_empty_gem.gemspec 111075
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_empty_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler