Releases use the standard Bundler release task through RubyGems trusted publishing. No RubyGems API key is stored in GitHub.
- Configure this repository as a trusted publisher
for
dagger_rubyon RubyGems.org. - Use
publish.ymlas the workflow filename andreleaseas its protected GitHub environment. - Require a maintainer approval on the
releaseenvironment.
- Update
DaggerRuby::VERSION. A released or existing tag cannot be reused. - Move the relevant entries from
Unreleasedto a dated version inCHANGELOG.md. - Run
bin/ciand the live Dagger suite documented in the README. - Merge the signed release commit to
mainand verify CI. - Run the Publish gem workflow from
mainand approve the release environment.
The workflow reruns validation, invokes rubygems/release-gem, creates the
version tag through Bundler's rake release task, and publishes with a short-lived
OpenID Connect credential.
Afterward, verify the new version on RubyGems.org and its generated GitHub tag. Do not move or replace a released tag; ship corrections as a new version.