Skip to content

Commit 7748144

Browse files
committed
qa: no prefixes on generated tags
- Removes the "v" prefix on tag names - Force create and push generated tag names (to allow overwriting) Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent b6a30d7 commit 7748144

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/generate-tags/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ let major = semver.major(tag);
88
let minor = major + '.' + semver.minor(tag);
99

1010
let tags = [
11-
'v' + major,
12-
'v' + minor,
11+
major,
12+
minor,
1313
];
1414

1515
core.info(`Tags: ${JSON.stringify(tags)}`);

.github/workflows/release-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 ${TAG}
4040
done

0 commit comments

Comments
 (0)