replace version in usage doc
This commit is contained in:
parent
0331a11bb5
commit
b34f2e3cca
3 changed files with 7 additions and 2 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
0.2.9
|
||||
0.2.10
|
||||
|
|
@ -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@' \
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue