Toolkit: release-please, GoReleaser, cargo-dist, JReleaser & act
The course's sessions used git, git-cliff, conventional-changelog, commitlint, semantic-release, changesets and the GitHub CLI. This lesson maps the wider landscape: which tool covers which stage of the release pipeline, which ecosystem it belongs to, and where it's taught in depth. Tools that need the GitHub API, Docker or a registry can't run in this course's offline image, so they appear as configuration and non-run commands.
What this course's image contains
git --version
git-cliff --version
echo "semantic-release $(node -p 'require("/opt/release-tools/node_modules/semantic-release/package.json").version')"
commitlint --version
echo "conventional-changelog $(conventional-changelog --version)"
echo "changesets $(changeset --version)"
gh --version | head -1
node --version
for tool in act release-please goreleaser jreleaser cargo; do
command -v "$tool" >/dev/null || echo "not installed: $tool"
donegit version 2.43.0
git-cliff 2.14.2
semantic-release 25.0.9
@commitlint/cli@21.2.4
conventional-changelog 7.2.1
changesets 3.0.3
gh version 2.103.1 (2026-10-23)
v24.22.1
not installed: act
not installed: release-please
not installed: goreleaser
not installed: jreleaser
not installed: cargo
The landscape by stage
| Stage | Tools | Notes |
|---|---|---|
| commit conventions | commitlint, cocogitto (cog check), commitizen (cz commit prompts) |
commitlint |
| version + changelog from commits | semantic-release, release-please, git-cliff (--bump), cocogitto, knope, release-plz (Rust) |
fully automatic vs "release PR" styles, below |
| version + changelog from intent files | changesets, knope (changeset files), Rush change files | Changesets |
| build + package + publish for one ecosystem | GoReleaser (Go), cargo-dist/dist (Rust and more), JReleaser (JVM and more), cargo-release (Rust), nFPM/fpm (deb/rpm/apk from files) |
below |
| hosting releases | gh release, glab release, release actions (softprops/action-gh-release) |
A Tag-Driven Release Workflow |
| running CI locally | act (GitHub Actions in Docker), gitlab-ci-local |
below |
| signing and provenance | cosign, GPG, minisign, actions/attest-build-provenance |
Signing Releases |
release-please
Google's release-please (GitHub API-based) reads Conventional Commits like semantic-release, but instead of releasing immediately it maintains a release pull request with the version bump and changelog. Merging that PR creates the tag and GitHub Release. It supports many release-types (node, python, rust, go, java, simple…) and monorepos through a manifest:
# .github/workflows/release-please.yml
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
issues: write
jobs:
release-please:
runs-on: ubuntu-24.04
outputs:
released: ${{ steps.rp.outputs.release_created }}
tag: ${{ steps.rp.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v5
id: rp
with:
release-type: node # or config-file + manifest-file for monorepos
build:
needs: release-please
if: ${{ needs.release-please.outputs.released == 'true' }}
runs-on: ubuntu-24.04
steps:
- run: echo "building ${{ needs.release-please.outputs.tag }}"In monorepo mode, release-please-config.json lists the packages and .release-please-manifest.json records their current versions:
{
"packages": {
"packages/core": { "release-type": "node" },
"packages/cli": { "release-type": "node" }
}
}| semantic-release | release-please | changesets | |
|---|---|---|---|
| intent from | commits | commits | changeset files |
| human review of the release | none (fully automatic) | the release PR | the Version Packages PR |
| writes to main | optionally (git plugin) | via the merged PR | via the merged PR |
| runs offline / locally | yes (this course) | no: GitHub API | yes (this course) |
GoReleaser
The standard release tool for Go: one .goreleaser.yaml builds every GOOS/GOARCH, creates archives, checksums, Linux packages (through nFPM), Homebrew formulas, container images and SBOMs, and publishes a GitHub Release, all from a tag. Go Modules in Depth covers it from the Go side.
# .goreleaser.yaml
version: 2
builds:
- env: [CGO_ENABLED=0]
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
ldflags: ["-s -w -X main.version={{.Version}}"]
archives:
- formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
checksum:
name_template: SHA256SUMS
nfpms:
- formats: [deb, rpm]
maintainer: Ada Lovelace <ada@example.com>
changelog:
use: gitgoreleaser check # validate the config
goreleaser release --snapshot --clean # local dry run: builds everything, publishes nothing
goreleaser release --clean # on a tag, in CI (goreleaser/goreleaser-action@v7)Rust: cargo-release, release-plz and dist (cargo-dist)
- cargo-release automates the source side:
cargo release minor --executebumpsCargo.tomlversions across a workspace, commits, tags and runscargo publishin dependency order (without--executeit's a dry run). - release-plz opens a release PR from Conventional Commits (git-cliff powers its changelog) and publishes to crates.io when merged: release-please for Rust.
- dist (formerly cargo-dist) handles the binary side:
dist initwrites a GitHub Actionsrelease.ymlthat builds platform archives, installers (shell, PowerShell, Homebrew, MSI) and checksums on every tag.dist planshows what a release would contain.
Cargo in Depth shows the crates.io side (Publishing, Consuming & Yanking).
JReleaser
For JVM projects (and beyond: it packages any binaries), JReleaser takes over after Maven/Gradle have built: changelog, checksums, signing, GitHub/GitLab releases, Maven Central deployment, Homebrew/Scoop/Chocolatey/Snap/JBang packagers and announcements, configured in jreleaser.yml or the Maven/Gradle plugin:
jreleaser config # show the resolved configuration
jreleaser full-release --dry-run
jreleaser full-release # in CI, with JRELEASER_GITHUB_TOKEN and signing keys as secretsIt pairs with Java Builds: Maven & Gradle, which shows maven-publish and deployment to a repository.
act: run GitHub Actions locally
act reads .github/workflows/ and runs jobs in Docker containers that imitate GitHub's runners. It needs Docker and pulls large runner images, so it isn't available in this course's image; a typical session (non-run):
act -l # list jobs and the events that trigger them
act push -j test # run the "test" job as if a push happened
act workflow_dispatch -W .github/workflows/release.yml --input dry-run=true
act -s GITHUB_TOKEN="$(gh auth token)" # pass a secret
act -P ubuntu-24.04=catthehacker/ubuntu:act-24.04 # choose the image for a runner labelLimits to know: the default images are smaller than GitHub's (tools you expect may be missing), macOS and Windows runners can't be emulated, caches/artifacts/OIDC/environments only partly work, and services behave differently. Use act for fast iteration on YAML and scripts; keep release logic in scripts you can run directly (as in A Tag-Driven Release Workflow) so CI is a thin wrapper and local rehearsal doesn't depend on emulation.
Test yourself
What is the main workflow difference between semantic-release and release-please?
- release-please doesn't use Conventional Commits
- release-please proposes the release as a pull request that a human merges; semantic-release releases directly
- semantic-release only works with Go
- release-please can't create tags
Which command does a local GoReleaser dry run without publishing?
- goreleaser publish --dry
- goreleaser release --snapshot --clean
- goreleaser build --tag
- goreleaser init
Why keep release logic in scripts rather than only in workflow YAML?
- YAML is slower
- Scripts can be rehearsed locally without emulating CI; the workflow just calls them
- GitHub forbids long YAML
- act requires it