mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
create-release: indent version.nix according to nixfmt
This commit is contained in:
1 parent
14afb10129
commit
6ca7c94d6a
1 file changed
+6
-1
@@ -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