about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/justfile b/justfile
index c2f6593..67a7d0b 100644
--- a/justfile
+++ b/justfile
@@ -42,7 +42,10 @@ changelog:
 		prettier --stdin-filepath CHANGELOG.md > CHANGELOG.md
 
 update-nix-package-version:
-	sd 'version = "[^"]+"' "version = \"$(convco version --bump)\"" nix/package.nix
+	#!/usr/bin/env bash
+	VER=$(convco version --bump)
+	sd 'version = "[^"]+"' "version = \"$VER\"" nix/package.nix
+	sd 'h=v.+$' "h=v$VER" nix/modules/default.nix
 
 release: clean-workdir changelog update-nix-package-version
 	git add CHANGELOG.md nix/package.nix