build: add command to cut a release
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 22:04:02 +0200
1 files changed, 8 insertions(+), 0 deletions(-)
jump to
M justfile → justfile
@@ -30,10 +30,18 @@ precommit: nix-build -A pre-commit-check +clean-workdir: + git diff --no-ext-diff --quiet + changelog: convco changelog -u $(convco version --bump) | \ sd -F HEAD $(convco version --print-prefix --bump) | \ prettier --stdin-filepath CHANGELOG.md > CHANGELOG.md + +release: clean-workdir changelog + git add CHANGELOG.md + git commit -m "chore: release $(convco version --bump)" + git tag $(convco version --bump --print-prefix) dev: modd