From 3e5f8800ea0e05101e5a01936df2a6ae93f409b7 Mon Sep 17 00:00:00 2001 From: Christine Seeman Date: Fri, 30 Jan 2026 11:00:16 -0600 Subject: [PATCH] Add shared release workflow from reissue Switch to using the shared gem release flow from reissue for trusted publishing to RubyGems.org. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/release.yml | 12 ++++++++++++ README.md | 4 ++++ Rakefile | 1 + 3 files changed, 17 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..947b310 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,12 @@ +name: Release gem to RubyGems.org + +on: + workflow_dispatch: + +jobs: + release: + uses: SOFware/reissue/.github/workflows/shared-ruby-gem-release.yml@main + with: + git_user_email: 'gems@sofwarellc.com' + git_user_name: 'SOFware' + ruby_version: '3.4' diff --git a/README.md b/README.md index a61716b..b9ae9a5 100644 --- a/README.md +++ b/README.md @@ -67,5 +67,9 @@ Or install it yourself as: $ gem install close_encounters ``` +## Releasing + +This project is managed with [Reissue](https://github.com/SOFware/reissue). Releases are automated via the [shared release workflow](https://github.com/SOFware/reissue/blob/main/.github/workflows/SHARED_WORKFLOW_README.md). Trigger a release by running the "Release gem to RubyGems.org" workflow from the Actions tab. + ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). diff --git a/Rakefile b/Rakefile index 4011ff6..cb6f6f0 100644 --- a/Rakefile +++ b/Rakefile @@ -20,6 +20,7 @@ require "reissue/gem" Reissue::Task.create :reissue do |task| task.version_file = "lib/close_encounters/version.rb" + task.push_finalize = :branch end require "standard/rake"