Skip to content

Commit a7f5c3f

Browse files
committed
qa: force tag overwrite/push
Otherwise, these steps will fail on subsequent releases. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 97a482b commit a7f5c3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-tags.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release container
1+
name: Release major/minor tags
22

33
on:
44
push:
@@ -35,6 +35,6 @@ jobs:
3535
run: |
3636
for TAG in ${TAGS};do
3737
echo "Creating and pushing ${TAG}"
38-
git tag ${TAG} ${ORIGINAL_TAG}
39-
git push origin ${TAG}
38+
git tag -f ${TAG} ${ORIGINAL_TAG}
39+
git push -f origin v${TAG}
4040
done

0 commit comments

Comments
 (0)