Skip to content

Commit 13d212e

Browse files
friggeriCopilot
andauthored
Update .github/workflows/publish.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9aa9b5b commit 13d212e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
git fetch --tags
215215
TAG_NAME="go/v${{ needs.version.outputs.version }}"
216216
# Try to create the tag - will fail if it already exists
217-
if git tag "$TAG_NAME" 2>/dev/null; then
217+
if git tag "$TAG_NAME" ${{ github.sha }} 2>/dev/null; then
218218
git push origin "$TAG_NAME"
219219
echo "Created and pushed tag $TAG_NAME"
220220
else

0 commit comments

Comments
 (0)