Skip to content

hanakai-rb/release-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💿 Hanakai Release Machine

A central GitHub Actions workflow to release Hanakai gems using signed version tags.

See latest releases.

How to release a gem

Prerequisites:

To release a gem:

  1. Prepare lib/[gem_name]/version.rb and CHANGELOG.md for the new version.
  2. Create a signed tag for the version: get tag -s vX.Y.Z
  3. Push the signed tag: git push origin vX.Y.Z
  4. Watch the latest release workflow run to see the new version published.

You can also use the gem-release gem to streamline steps 1-3:

$ gem install gem-release
$ gem bump --version X.Y.Z --tag --sign --push

Check out gem bump --help to learn more.

Configuring Release Machine

See .github/workflows/release.yml for the release workflow.

Contains public keys for each releaser, expected to be used with signing version tags. These files names should match the releaser's GitHub username. For example:

  • t-boz.ssh.txt (when signing commits with SSH)
  • left-eye.gpg.asc (when signing commits with GPG)

Defines who is authorized to release gems. Contains:

  • default: Releasers authorized for all gems
  • gems: Releasers for specific gems (in addition to default releasers)

Example:

default:
  - t-boz
  - left-eye
gems:
  hanami-router:
    - chilli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •