Skip to content

Commit 5d99412

Browse files
committed
up
1 parent c240a0e commit 5d99412

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,4 @@ jobs:
3939
run: pnpm run typecheck
4040

4141
- name: Publish
42-
run: |
43-
TAG="${{ github.ref_name }}"
44-
VERSION="${TAG#v}"
45-
46-
if [[ "$VERSION" =~ (alpha|beta|rc) ]]; then
47-
DIST_TAG="${BASH_REMATCH[1]}"
48-
npm version "$VERSION" --no-git-tag-version --allow-same-version
49-
npm publish --tag "$DIST_TAG" --provenance=false
50-
else
51-
npm publish --provenance=false
52-
fi
42+
run: npm publish

0 commit comments

Comments
 (0)