Skip to content

Commit fda4c7b

Browse files
MattBabbageCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 5e98f7a commit fda4c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/registry-releaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
TAG_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
6161
else
6262
LATEST_TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$' | head -n 1)
63-
[ -z "$LATEST_TAG" ] && { echo "No release tag found"; exit 1; }
63+
[ -z "$LATEST_TAG" ] && { echo "No release tag found. Cannot determine version."; exit 1; }
6464
TAG_VERSION=$(echo "$LATEST_TAG" | sed 's/^v//')
6565
echo "Using latest tag: $LATEST_TAG"
6666
fi

0 commit comments

Comments
 (0)