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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/shopify_empty_gem/version.rb +1 -1
- data/lib/snippets/release-gem-with-otp +15 -8
- data/shipit.rubygems_otp.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f70b5549b708251bec3ef8b9697cd084ed36f981ecd9d49fa244bbc8e828b48b
|
4
|
+
data.tar.gz: 0e4530261d7e140f312621a6d7e163cb0c605e51a2acb4ca7b2394e433164ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e153a1167a12ad7d7024ccd1deb3f623502ffa321b60b24bc5de12f60a3dd5fd14ae2b8d57ce666f0b730a5fe8afd0b879d8fb67ab092f9b92d19e0af7377e2
|
7
|
+
data.tar.gz: 8be3592da63974594d1a4ee39feced9a3ae122f688e8ccce32d0f72c86924fcc523a5981fdc5ebe6c0240005f25f3910d16090691c0b9bb4938627c5905d8559
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
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
|
data/shipit.rubygems_otp.yml
CHANGED
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.
|
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-
|
11
|
+
date: 2022-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|