From 1b59c4dd9cd2303baa97dca1c5d85696f9945356 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 29 Jun 2024 22:00:20 +0200 Subject: build: generate correct changelog for next version --- justfile | 4 +++- nix/dev-shell.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 diff --git a/nix/dev-shell.nix b/nix/dev-shell.nix index eb2021f..7d21e9d 100644 --- a/nix/dev-shell.nix +++ b/nix/dev-shell.nix @@ -11,6 +11,7 @@ mkShell { packages = with pkgs; [ goEnv + sd templ modd brotli -- cgit 1.4.1