shopify_empty_gem 0.1.2 → 0.1.6
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/shopify_empty_gem/version.rb +1 -1
- data/lib/snippets/release-gem-with-otp +20 -8
- data/shipit.rubygems_otp.yml +1 -1
- metadata +7 -7
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
|
@@ -88,10 +88,12 @@ module Poll
|
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
puts "Kicking off the release-gem-with-otp script!!"
|
|
91
|
+
puts "🚀 Kicking off the release-gem-with-otp script!!"
|
|
92
92
|
|
|
93
93
|
spec_path, temp_otp_code, *release_command = ARGV
|
|
94
94
|
|
|
95
|
+
puts "📝 The otp code is: #{temp_otp_code}"
|
|
96
|
+
|
|
95
97
|
spec = Gem::Specification.load(spec_path)
|
|
96
98
|
if RubygemsAPI.published?(spec.name, spec.version)
|
|
97
99
|
puts "#{spec.name} version #{spec.version} is already published."
|
|
@@ -126,13 +128,23 @@ else
|
|
|
126
128
|
#
|
|
127
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
|
|
128
130
|
# Instead of re-building and re-tagging the gem, we'll complete the last step of the `rake release` command => (gem push)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
puts "💪 Preparing to release gem"
|
|
132
|
+
|
|
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
|
+
# )
|
|
136
148
|
|
|
137
149
|
# TODO: What if OTP has expired? Add mechanism to retry.
|
|
138
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
|
-
autorequire:
|
|
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
|
|
@@ -44,7 +44,7 @@ dependencies:
|
|
|
44
44
|
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: 12.3.3
|
|
47
|
-
description:
|
|
47
|
+
description:
|
|
48
48
|
email:
|
|
49
49
|
- admins@shopify.com
|
|
50
50
|
executables: []
|
|
@@ -64,7 +64,7 @@ licenses:
|
|
|
64
64
|
- MIT
|
|
65
65
|
metadata:
|
|
66
66
|
allowed_push_host: https://rubygems.org
|
|
67
|
-
post_install_message:
|
|
67
|
+
post_install_message:
|
|
68
68
|
rdoc_options: []
|
|
69
69
|
require_paths:
|
|
70
70
|
- lib
|
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
|
-
rubygems_version: 3.2.
|
|
83
|
-
signing_key:
|
|
82
|
+
rubygems_version: 3.2.32
|
|
83
|
+
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: Empty gem for testing purposes
|
|
86
86
|
test_files: []
|