Skip to content

Commit 4d27fbd

Browse files
authored
split version tag on @ (#453)
* test * remove test code * npm test
1 parent 9ee67b6 commit 4d27fbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ jobs:
2121
- run: |
2222
git_tag="$GITHUB_REF_NAME"
2323
24+
IFS='@' read -a git_tag_parts <<< $git_tag
25+
version="${git_tag_parts[1]}"
26+
2427
# Sync version number to all package.json files
25-
npm run version $git_tag
28+
npm run version $version
2629
2730
if [[ $git_tag == *"beta"* ]]; then
2831
tag=beta

0 commit comments

Comments
 (0)