Release script: bump, changelog, tag in one command #69

Closed
opened 2026-10-17 17:54:20 +00:00 by littlefox · 1 comment
Owner

v0.1.1 needed the version changed by hand in five files (#45), and a mistake there breaks the release job.

What:

  • tools/release.sh X.Y.Z: bumps Cargo.toml, Cargo.lock, flake.nix, the PKGBUILD and the RPM spec, adds a changelog entry (from the merged PRs since the last tag), runs tools/check-version.sh, and opens a release PR.
  • After that PR is merged, tools/release.sh --tag X.Y.Z tags the merge commit and pushes the tag.
  • A CHANGELOG.md, which the release notes include.

Done when:

  • 0.2.0 is released with it.

From docs/ROADMAP.md, "Under the hood"; filed for 0.2.

v0.1.1 needed the version changed by hand in five files (#45), and a mistake there breaks the release job. What: - `tools/release.sh X.Y.Z`: bumps Cargo.toml, Cargo.lock, flake.nix, the PKGBUILD and the RPM spec, adds a changelog entry (from the merged PRs since the last tag), runs tools/check-version.sh, and opens a release PR. - After that PR is merged, `tools/release.sh --tag X.Y.Z` tags the merge commit and pushes the tag. - A CHANGELOG.md, which the release notes include. Done when: - 0.2.0 is released with it. From docs/ROADMAP.md, "Under the hood"; filed for 0.2.
Author
Owner

Merged in #82 (CI run #137 green). tools/release.sh X.Y.Z / --tag X.Y.Z; CHANGELOG.md; release notes get the version's section.

Merged in #82 (CI run #137 green). tools/release.sh X.Y.Z / --tag X.Y.Z; CHANGELOG.md; release notes get the version's section.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littlefox/neokom#69
No description provided.