We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5490fcd + b9f4622 commit 5fcf323Copy full SHA for 5fcf323
.github/workflows/publish.yml
@@ -34,6 +34,9 @@ jobs:
34
twine upload dist/*
35
- name: Publish the NPM package
36
run: |
37
- npm publish --access public
+ echo $PRE_RELEASE
38
+ if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
39
+ npm publish --tag ${TAG} --access public
40
env:
41
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42
+ PRE_RELEASE: ${{ github.event.release.prerelease }}
.gitignore
@@ -122,3 +122,4 @@ node_modules/
122
123
# vim stuff
124
*.swp
125
+.devcontainer/
src/version.ts
0 commit comments