Ruby + Semantic Release + GitHub Actions = πŸš€πŸš€πŸš€

Say goodbye to release management and focus on building the features

Tianhao Zhou
2 min readMay 19, 2021
Photo by Hello I’m Nik on Unsplash

Semantic-release is a tool to automate commit messages to version calculation to publishing flow for Node.js projects.

Combined with GitHub actions, developers can simply push code and the workflow will automatically calculate versions and publish the package to registries.

It’s super convenient. So convenient that it makes me feel bad for my Ruby projects πŸ˜‚

However, after researching and tinkering, it turns out that it can be easily customized for Ruby projects.

Step 1: install Semantic-Release

The semantic-release tool can be installed as npm packages:

Note: it’s much easier to initialize a dummy Node.js project inside the Ruby project than installing semantic-release globally.

Step 2: configure plugins

--

--