We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 406b7a7 commit 11b4d43Copy full SHA for 11b4d43
1 file changed
.github/workflows/build.yml
@@ -390,7 +390,7 @@ jobs:
390
elif [[ "$GITHUB_REF" == refs/tags/* ]]; then
391
TAG="${GITHUB_REF#refs/tags/}"
392
else
393
- BASE_TAG="$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")"
+ BASE_TAG="$(git describe --tags --abbrev=0 --exclude '*-snapshot' 2>/dev/null || echo "v0.0.0")"
394
SHORT_SHA="${GITHUB_SHA::7}"
395
TAG="${BASE_TAG}-${SHORT_SHA}-snapshot"
396
fi
0 commit comments