create-release: indent version.nix according to nixfmt
This commit is contained in:

committed by
Jörg Thalheim

parent
14afb10129
commit
6ca7c94d6a
@@ -45,7 +45,12 @@ fi
|
||||
nix-fast-build --no-link -j 2 --eval-workers 2 --flake .#checks
|
||||
|
||||
# Update the version file
|
||||
echo "{ version = \"$version\"; released = true; }" > version.nix
|
||||
cat > version.nix <<EOF
|
||||
{
|
||||
version = "$version";
|
||||
released = false;
|
||||
}
|
||||
EOF
|
||||
|
||||
# Commit and tag the release
|
||||
git commit -am "release: v$version"
|
||||
|
Reference in New Issue
Block a user