To create a release, run scripts/release.sh <new_version> from the main
branch. This script will:
- Automatically update the version in all relevant files
- Create a commit with the version changes
- Generate the
CHANGELOG.md(skipped for prereleases) - Tag, push, and create a draft release on GitHub
The release is created as a draft — review the auto-generated notes at github.com/CodSpeedHQ/codspeed-jvm/releases and click "Publish" to ship.
For alpha versions (e.g. 0.2.0-alpha), the script:
- Allows running from a non-main branch
- Skips
CHANGELOG.mdregeneration - Marks the GitHub Release as
--latest=falseso it doesn't appear as the latest release