replace version in usage doc

This commit is contained in:
ibizaman 2025-01-26 20:57:58 +01:00 committed by Pierre Penninckx
parent 0331a11bb5
commit b34f2e3cca
3 changed files with 7 additions and 2 deletions

View file

@ -1 +1 @@
0.2.9
0.2.10

View file

@ -125,6 +125,11 @@ in stdenv.mkDerivation {
'@VERSION@' \
${builtins.readFile ../VERSION}
substituteInPlace ./usage.md \
--replace \
'@VERSION@' \
${builtins.readFile ../VERSION}
substituteInPlace ./options.md \
--replace \
'@OPTIONS_JSON@' \

View file

@ -63,7 +63,7 @@ guarantee Self Host Block won't use a non-existing option from `nixpkgs`.
To pin Self Host Blocks to a release/tag, run the following snippet:
```nix
nix flake lock --override-input selfhostblocks github:ibizaman/selfhostblocks/v0.2.2
nix flake lock --override-input selfhostblocks github:ibizaman/selfhostblocks/@VERSION@
```
Updating Self Host Blocks to a new version can be done the same way.