build: add prep-release recipe to justfile
Some checks failed
Test / checks (map[name:stable]) (push) Has been cancelled
Test / checks (map[name:nightly]) (push) Has been cancelled

This commit is contained in:
Paul Campbell 2024-09-22 14:33:49 +01:00
parent 941116704d
commit 1f0bc9f295
2 changed files with 14 additions and 0 deletions

0
cliff.toml Normal file
View file

View file

@ -6,3 +6,17 @@ test path repo:
GITHUB_REPOSITORY=kemitix/{{ repo }} \
GITHUB_SERVER_URL=https://git.kemitix.net \
cargo run
next_version := `git-cliff --bumped-version | cut -b 2-`
@next:
echo "Next version: {{ next_version }}"
prep-release:
jj new -m"chore: release {{ next_version }}"
cargo set-version "{{ next_version }}"
git-cliff -o CHANGELOG.md --bump
echo "Check CHANGELOG.md for next version"
jj diff
jj status