runger_release_assistant 3.0.0 → 3.0.1

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
2
  SHA256:
3
- metadata.gz: ffa8ec1176a4f808d47d73a770f827c00d54ab9fcc33055066a80c682960c4d1
4
- data.tar.gz: f6fd6895dc4166f549caea645239702dc7dfa6e7423ade900c26347f872b3078
3
+ metadata.gz: 3522c9bec05a80dc5bdb7f4c116e58eb9bddf47d3f28686c644d4b6f08f9f28b
4
+ data.tar.gz: 8a8cf83bb094b37c53f6fcc000c884e268827f7affde2f1749d8cecd396ba6c0
5
5
  SHA512:
6
- metadata.gz: b119572e24db21699e050d13a108b39e561e7f9b2e4e2dffa307254baaafded360820ca790579642cd73ab9c5ac632297b3e11f59d93ee0493e5b8cbe81988c7
7
- data.tar.gz: 5ef00860230351fd6de133aa076925872bf384de53e0788c9d9f1598615a9e11eb0d1324ce4779d40cd2acdda1e5a8c0b3af66c65b071321b0c5fc2da2424135
6
+ metadata.gz: 12b81930e8f9397998f1d4d2b1b908890c763c20e450f20f9595944baa827ddf662bf09d1f8b5dd105771dca405299f853ffb586481f58a3a665fafb539773db
7
+ data.tar.gz: 3bac8b7ab749befa4037fc8ad2fb6dffed46b33602a109ce14e2af0ee027719ef588586e45e2b6fe570fddf4b0a318b55dd437efea2fb4ab1f634f8f7e880090
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  ## Unreleased
2
2
  [no unreleased changes yet]
3
3
 
4
+ ## v3.0.1 (2025-03-20)
5
+ [no unreleased changes yet]
6
+
4
7
  ## v3.0.0 (2025-03-20)
5
8
  - Stop creating a new alpha version after release.
6
9
  - Push to git even if pushing to RubyGems is not enabled.
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- runger_release_assistant (3.0.0)
12
+ runger_release_assistant (3.0.1)
13
13
  activesupport (>= 6)
14
14
  memo_wise (>= 1.7)
15
15
  rainbow (>= 3.0)
@@ -190,7 +190,7 @@ CHECKSUMS
190
190
  rubocop-rspec (3.5.0) sha256=710c942fe1af884ba8eea75cbb8bdbb051929a2208880a6fc2e2dce1eed5304c
191
191
  ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
192
192
  runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
193
- runger_release_assistant (3.0.0)
193
+ runger_release_assistant (3.0.1)
194
194
  runger_style (5.7.0) sha256=200790f3998e0b924df17efc9d440ddec99508bae983ba2a63f42b80624762f0
195
195
  securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
196
196
  slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
@@ -2,6 +2,6 @@
2
2
 
3
3
  # rubocop:disable Style/StaticClass
4
4
  class RungerReleaseAssistant
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
7
7
  # rubocop:enable Style/StaticClass
@@ -81,12 +81,7 @@ class RungerReleaseAssistant
81
81
  bundle_install
82
82
  commit_changes(message: "Prepare to release v#{next_version}")
83
83
  create_tag
84
-
85
- if @options[:rubygems] && @options[:git]
86
- push_to_rubygems_and_git
87
- elsif @options[:git]
88
- push_to_git
89
- end
84
+ push_to_rubygems_and_or_git
90
85
  rescue => error
91
86
  logger.error(<<~ERROR_LOG)
92
87
  \n
@@ -199,13 +194,23 @@ class RungerReleaseAssistant
199
194
  "v#{version}"
200
195
  end
201
196
 
197
+ def push_to_rubygems_and_or_git
198
+ if @options[:rubygems]
199
+ push_to_rubygems
200
+ end
201
+
202
+ if @options[:git]
203
+ push_to_git
204
+ end
205
+ end
206
+
202
207
  def push_to_git
203
208
  logger.debug('Pushing to git remote')
204
209
  execute_command('git push')
205
210
  execute_command('git push --tags')
206
211
  end
207
212
 
208
- def push_to_rubygems_and_git
213
+ def push_to_rubygems
209
214
  logger.debug('Pushing to RubyGems and git')
210
215
  # Always show system output because 2FA should be enabled, which requires user to see the prompt
211
216
  execute_command('bundle exec rake release', show_system_output: true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_release_assistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger