forgejo-todo-checker/justfile
Paul Campbell 1f0bc9f295
Some checks failed
Test / checks (map[name:stable]) (push) Has been cancelled
Test / checks (map[name:nightly]) (push) Has been cancelled
build: add prep-release recipe to justfile
2024-09-22 14:49:14 +01:00

22 lines
514 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 {{ next_version }}"
cargo set-version "{{ next_version }}"
git-cliff -o CHANGELOG.md --bump
echo "Check CHANGELOG.md for next version"
jj diff
jj status