ruby-gem-release 0.2.1 → 0.2.2

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: e680c11bf15031ab4cf1e32f5a28f8f69219fbc0109cac2d52b7e544cc624f85
4
- data.tar.gz: d20eb7fbb70c48c3ae559e8388c447b3d5319c3139bc3ec2041ecfafcf6f2922
3
+ metadata.gz: 469e595224af37d45f614a03b2a921a4dbf95cd48cce2e06a22a77afaaae1309
4
+ data.tar.gz: 4ca11264c3d08b8ab09c877e7405466d96c368db09937beb70bbd004fea83118
5
5
  SHA512:
6
- metadata.gz: 61cae2948e0dfd82ff24623eec92f3a6ac64e2082d221e7186a3c947a071e328367c2c08ab2308cf41c98d1ec23e62f4747815e4e07f76cc144e441220080a4c
7
- data.tar.gz: ac28cdff7be72e83f9117331e3a4c4fcbcc1a221d9ed2321223e5ce5a46222060a7078bd2b995b98f185c04f2633ba853c7fd584deced8c1f940ed71943d40ad
6
+ metadata.gz: 820916d325fa76a47d54aca30813ff79af9e565a8463df8fddc73ec69cd629ff256fa72dd36dad2cf01f1317bf015ee519342e823abcdb767a5338fd53eea773
7
+ data.tar.gz: 2b0185aa185436463e69b398371b8932bd8f1ed59964f1278f16274026c7c8d13fc1f7df51e2a8a1e2051782a43ad762a4355a4f45239159727b904df5e66372
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2 (2026/11/08)
4
+
5
+ - [#18](https://github.com/dblock/ruby-gem-release/pull/18): Update README release tags as part of the next development iteration - [@dblock](https://github.com/dblock).
6
+ - [#19](https://github.com/dblock/ruby-gem-release/pull/19): Use the incremented version in next development iteration commit messages and update terminology throughout workflows and documentation - [@dblock](https://github.com/dblock).
7
+
3
8
  ## 0.2.1 (2026/11/07)
4
9
 
5
10
  - [#17](https://github.com/dblock/ruby-gem-release/pull/17): Avoid extra blank lines when releasing an empty changelog section and document release adoption and collaborator permissions - [@dblock](https://github.com/dblock).
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Release your Ruby gem from GitHub Actions—without maintaining custom release scripts or storing a RubyGems API key.**
8
8
 
9
- Update your changelog, validate and publish your gem, create its GitHub Release, and prepare the next development version with one workflow dispatch. Choose your version and changelog formats; the standard workflow handles the release sequence.
9
+ Update your changelog, validate and publish your gem, create its GitHub Release, and prepare the next development iteration with one workflow dispatch. Choose your version and changelog formats; the standard workflow handles the release sequence.
10
10
 
11
11
  - **No stored RubyGems API key:** Authenticate with RubyGems Trusted Publishing using OpenID Connect (OIDC).
12
12
  - **Let collaborators release:** After one-time setup, collaborators with write access, including on personal repositories, can dispatch releases without repository admin access or their own RubyGems credentials.
@@ -31,7 +31,7 @@ RubyGemRelease::Workflow::RubyGem.new(
31
31
  ).install_tasks
32
32
  ```
33
33
 
34
- The standard workflow handles changelog updates, publication, and the next development version, selecting the gemspec and repository using unambiguous defaults. See [Detailed Usage](docs/usage.md) for file examples and custom release callbacks.
34
+ The standard workflow handles changelog updates, publication, and the next development iteration, selecting the gemspec and repository using unambiguous defaults. See [Detailed Usage](docs/usage.md) for file examples and custom release callbacks.
35
35
 
36
36
  ### 2. Add the Release Workflow
37
37
 
@@ -54,7 +54,7 @@ permissions:
54
54
 
55
55
  jobs:
56
56
  release:
57
- uses: dblock/ruby-gem-release/.github/workflows/release.yml@v0.2.0
57
+ uses: dblock/ruby-gem-release/.github/workflows/release.yml@v0.2.1
58
58
  with:
59
59
  ruby-version: '3.3'
60
60
  rubygems-owner: ${{ inputs.rubygems-owner }}
@@ -45,9 +45,11 @@ module RubyGemRelease
45
45
  end
46
46
 
47
47
  def commit_next!(release)
48
+ raise ArgumentError, 'next development iteration version is required' if release.next_version.to_s.empty?
49
+
48
50
  @release = release
49
51
  @next_commit_parent = head
50
- commit_changes("Prepare next development version after #{release.version}", required: true)
52
+ commit_changes("Prepare next development iteration, #{release.next_version}", required: true)
51
53
  end
52
54
 
53
55
  def tag!(release)
@@ -90,7 +92,7 @@ module RubyGemRelease
90
92
  def commit_changes(message, required:)
91
93
  run('add', '-A')
92
94
  output = run('diff', '--cached', '--name-only')
93
- raise 'Next-version preparation did not change any files' if required && output.empty?
95
+ raise 'Preparing the next development iteration did not change any files' if required && output.empty?
94
96
  return head if output.empty?
95
97
 
96
98
  run('commit', '-m', message)
@@ -69,7 +69,7 @@ module RubyGemRelease
69
69
  release = context(before_release: true)
70
70
  @before_release&.call(release)
71
71
  end
72
- desc 'Run the next-version preparation callback'
72
+ desc 'Run the next development iteration preparation callback'
73
73
  task(:after_release) do
74
74
  release = context
75
75
  @after_release&.call(release)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyGemRelease
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
@@ -42,7 +42,7 @@ module RubyGemRelease
42
42
  def prepare_next(release)
43
43
  next_release = release.with_next_version(@version.increment!)
44
44
  @changelog&.prepare_next!(next_release)
45
- @git.commit_next!(release)
45
+ @git.commit_next!(next_release)
46
46
  @git.push!
47
47
  end
48
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine