automate more of the release process (#5409)

This commit is contained in:
Jack Amadeo
2025-11-05 06:54:42 -05:00
committed by GitHub
parent 89f7384d57
commit c59ec1de07
9 changed files with 457 additions and 0 deletions
+6
View File
@@ -268,6 +268,12 @@ validate version:
exit 1
fi
get-next-minor-version:
@python -c "import sys; v=sys.argv[1].split('.'); print(f'{v[0]}.{int(v[1])+1}.0')" $(just get-tag-version)
get-next-patch-version:
@python -c "import sys; v=sys.argv[1].split('.'); print(f'{v[0]}.{v[1]}.{int(v[2])+1}')" $(just get-tag-version)
# set cargo and app versions, must be semver
prepare-release version:
@just validate {{ version }} || exit 1