chore: Use built-in "stopper"

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-03 20:21:24 +02:00
parent eb09d76ad0
commit 5972d8a206
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5

View file

@ -19,7 +19,7 @@ tasks:
tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true)
if [ -z "$tag" ]; then
echo "Current commit is not a tag; not building anything"
exit 0
complete-build
fi
version=$(echo "$tag" | tr -d 'v')