build: add prep-release recipe to justfile
This commit is contained in:
parent
941116704d
commit
1f0bc9f295
2 changed files with 14 additions and 0 deletions
0
cliff.toml
Normal file
0
cliff.toml
Normal file
14
justfile
14
justfile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue