Skip to content

Commit 402f32c

Browse files
JoeWang1127ddixit14
authored andcommitted
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 5dd96f1 commit 402f32c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/create_additional_release_tag.yaml

+2
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)