Skip to content

Commit

Permalink
fix: tag extraction for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Dec 27, 2024
1 parent 8cd0dcc commit df0a45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
set -x
EXTRA_GORELEASER_COMMANDS=""
TAG=${{ github.ref | replace('refs/tags/', '') }}
TAG=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
if [[ "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
EXTRA_GORELEASER_COMMANDS="-f .goreleaser_announce.yml ${EXTRA_GORELEASER_COMMANDS}"
fi
Expand Down

0 comments on commit df0a45b

Please sign in to comment.