about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 22:00:20 +0200
committerAlan Pearce2024-06-29 22:00:20 +0200
commit1b59c4dd9cd2303baa97dca1c5d85696f9945356 (patch)
tree449d98421554f5c695b467bf96202d49a6de3af0 /justfile
parented909273a2b15cdf0b178f7d7f3abe7931adeaee (diff)
downloadsearchix-1b59c4dd9cd2303baa97dca1c5d85696f9945356.tar.lz
searchix-1b59c4dd9cd2303baa97dca1c5d85696f9945356.tar.zst
searchix-1b59c4dd9cd2303baa97dca1c5d85696f9945356.zip
build: generate correct changelog for next version
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