Small qol fixes to release.sh

This commit is contained in:
Brian Picciano 2024-03-11 23:22:42 +01:00
parent 249c46c586
commit b97ff9b99b

View File

@ -14,14 +14,9 @@ echo '*' > "$releasesDir"/.gitignore
out="$releasesDir/$releaseName"
if [ -e "$out" ]; then
echo "$out already exists, aborting"
exit 1
fi
revision=$(git rev-parse HEAD)
result=$(nix-build \
result=$(nix-build -v \
--argstr revision "$revision" \
--argstr releaseName "$releaseName" \
--no-out-link \