chore: Use built-in "stopper"
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
eb09d76ad0
commit
5972d8a206
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ tasks:
|
||||||
tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true)
|
tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true)
|
||||||
if [ -z "$tag" ]; then
|
if [ -z "$tag" ]; then
|
||||||
echo "Current commit is not a tag; not building anything"
|
echo "Current commit is not a tag; not building anything"
|
||||||
exit 0
|
complete-build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
version=$(echo "$tag" | tr -d 'v')
|
version=$(echo "$tag" | tr -d 'v')
|
||||||
|
|
Loading…
Reference in a new issue