Releases
Release Timeline¶
Releases are created on an as-needed basis. Milestones in the Issue Tracker are used to track features to be included in upcoming releases.
Versioning¶
TaPS uses semver as its versioning system. TaPS is an application package, rather than a library package, so internal changes within the TaPS benchmarking harness are not considered breaking changes. Rather, changes are only considered breaking if they change the way an application is run. For example, the command from a prior release no longer works in the following release.
While TaPS is in major version zero (0.y.z), anything may change at any time.
Creating Releases¶
- Choose the next version number, referred to as
{VERSION}
for the rest of the instructions. Versioning follows semver (major.minor.patch
) with optional PEP-440 pre-release/post-release/dev-release segments. Major/minor/patch numbers start at 0 and pre-release/post-release/dev-release segments start at 1. - Update the version in
pyproject.toml
to{VERSION}
. - Commit and merge the version updates/changelogs into main.
- Tag the release commit and push (typically this is the commit updating the version numbers). Note the version number is prepended by "v" for the tags so we can distinguish release tags from non-release tags.
- Create a new release on GitHub using the tag. The title should be
FooBar v{VERSION}
. - Official release:
- Use the "Generate release notes" option and set the previous tag as the previous official release tag. E.g., for
v0.4.1
, the previous release tag should bev0.4.0
and NOTv0.4.1a1
. - Add an "Upgrade Steps" section at the top (see previous releases for examples).
- Review the generated notes and edit as needed. PRs are organized by tag, but some PRs will be missing tags and need to be moved from the "Other Changes" section to the correct section.
- Select "Set as the latest release."
- Use the "Generate release notes" option and set the previous tag as the previous official release tag. E.g., for
- Unofficial release: (alpha/dev builds)
- Do NOT generate release notes. The body can be along the lines of "Development pre-prelease for
V{VERSION}
." - Leave the previous tag as "auto."
- Select "Set as a pre-release."
- Do NOT generate release notes. The body can be along the lines of "Development pre-prelease for