Skip to content

Commit 11b4d43

Browse files
committed
build: fix snapshot system
1 parent 406b7a7 commit 11b4d43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ jobs:
390390
elif [[ "$GITHUB_REF" == refs/tags/* ]]; then
391391
TAG="${GITHUB_REF#refs/tags/}"
392392
else
393-
BASE_TAG="$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")"
393+
BASE_TAG="$(git describe --tags --abbrev=0 --exclude '*-snapshot' 2>/dev/null || echo "v0.0.0")"
394394
SHORT_SHA="${GITHUB_SHA::7}"
395395
TAG="${BASE_TAG}-${SHORT_SHA}-snapshot"
396396
fi

0 commit comments

Comments
 (0)