We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f42e3cd commit 64e2ed9Copy full SHA for 64e2ed9
.github/workflows/release-viewer.yml
@@ -40,4 +40,11 @@ jobs:
40
working-directory: applications/viewer
41
env:
42
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43
- run: npm publish --access public
+ run: |
44
+ if [[ "${{ env.TAG }}" == *"-preview"* ]]; then
45
+ npm publish --access public --tag preview
46
+ elif [[ "${{ env.TAG }}" == *"-beta"* ]]; then
47
+ npm publish --access public --tag beta
48
+ else
49
+ npm publish --access public
50
+ fi
0 commit comments