From 6e61903c1e3c3d37576e87274825b1c99fcf6a49 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 29 Jun 2024 22:04:02 +0200 Subject: build: add command to cut a release --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index efe492d..fbfbc2e 100644 --- a/justfile +++ b/justfile @@ -30,11 +30,19 @@ fix: 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 -- cgit 1.4.1