forgejo-todo-checker/justfile

23 lines
515 B
Makefile
Raw Normal View History

2024-09-21 11:14:42 +01:00
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