Skip to content

Commit 53a5a4f

Browse files
authored
Update build-release.yml
1 parent 3c9c2da commit 53a5a4f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ jobs:
6767
run: |
6868
tag=$(git describe --tags --abbrev=0 origin/main)
6969
if [ -z "$tag" ]; then
70-
echo "Latest tag not found, likely the first time this script has been ran. Falling back to 0.0.0"
71-
echo "tag=0.0.0" >> $GITHUB_OUTPUT
70+
echo "Latest tag not found, likely the first time this script has been ran. " && exit 1
7271
else
7372
echo "Latest tag found: $tag"
7473
echo "tag=$tag" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)