about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/justfile b/justfile
index 812dd20..efe492d 100644
--- a/justfile
+++ b/justfile
@@ -31,7 +31,9 @@ precommit:
 	nix-build -A pre-commit-check
 
 changelog:
-	convco changelog | prettier --stdin-filepath CHANGELOG.md > CHANGELOG.md
+	convco changelog -u $(convco version --bump) | \
+		sd -F HEAD $(convco version --print-prefix --bump) | \
+		prettier --stdin-filepath CHANGELOG.md > CHANGELOG.md
 
 dev:
 	modd