DLA-Future-Fortran follows Semantic Versioning.
-
For minor and major releases: check out the
main
branch. All changes required for the release are added tomain
via pull requests. For patch releases: check out the correspondingrelease-major.minor
branch. -
Write release notes in
CHANGELOG.md
. -
Update the version in
CMakeLists.txt
. -
Update the version and date in
CITATION.cff
. -
When making a major release, remove deprecated functionality if appropriate.
-
Update the minimum required versions if necessary.
-
Ensure you have GitHub CLI installed. Run
gh auth login
to authenticate with your GitHub account, or set theGITHUB_TOKEN
to a token withpublic_repo
access. -
Create a release on GitHub using the script
scripts/roll_release.sh
. -
Update Spack recipe in
spack/packages/dla-future-fortran/package.py
adding the new release. -
Synchronize upstream Spack package with local repository. Exclude blocks delimited by
# !!!
comments. These are only intended for the internal Spack package. -
Delete your
GITHUB_TOKEN
if created only for the release.