forgejo-todo-checker/justfile
Paul Campbell 6f322ea832
All checks were successful
Test / checks (map[name:stable]) (push) Successful in 1m27s
Test / checks (map[name:nightly]) (push) Successful in 1m55s
build: add prep-release recipe to justfile
2024-09-22 14:50:11 +01:00

22 lines
515 B
Makefile

self-test:
just test $PWD forgejo-todo-checker
test path repo:
GITHUB_WORKSPACE={{ path }} \
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 v{{ next_version }}"
cargo set-version "{{ next_version }}"
git-cliff -o CHANGELOG.md --bump
echo "Check CHANGELOG.md for next version"
jj diff
jj status