Skip to content

Commit e560e21

Browse files
committed
OPS: Clear up tag format discrepancy
1 parent 503dbf2 commit e560e21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
push:
55
tags:
6-
- "v*.*.*"
6+
- "*.*.*"
77

88
permissions:
99
contents: read # Checkout code
@@ -40,7 +40,7 @@ jobs:
4040
shell: bash
4141
run: |
4242
TAG="${GITHUB_REF_NAME}"
43-
VERSION="${TAG#v}"
43+
VERSION="${TAG}"
4444
echo "Setting package.json version to ${VERSION}"
4545
pnpm version --no-git-tag-version "${VERSION}"
4646

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"branches": [
7070
"main"
7171
],
72-
"tagFormat": "v${version}",
72+
"tagFormat": "${version}",
7373
"plugins": [
7474
[
7575
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)