Skip to content

Commit 5a821c5

Browse files
authored
chore: fix workflow to create additional tags (#2487)
The workflow to create additional tags when releasing is failing: https://github.com/googleapis/sdk-platform-java/actions/runs/7893005878/job/21540707818. Delete the local tag before creating one.
1 parent f92e19e commit 5a821c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/create_additional_release_tag.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
# Use fixed tag so that checks in handwritten libraries do not need to
3939
# update the version.
4040
CHECK_LATEST_TAG="unmanaged-dependencies-check-latest"
41+
# delete and create the tag locally.
42+
git tag --delete ${CHECK_LATEST_TAG}
4143
git tag ${CHECK_LATEST_TAG}
4244
# delete the tag in remote repo and push again.
4345
git push --delete origin ${CHECK_LATEST_TAG}

0 commit comments

Comments
 (0)