diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..e69de29 diff --git a/justfile b/justfile index b5b393b..1f17dea 100644 --- a/justfile +++ b/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 +