File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 4444 - name : Update NPM
4545 run : npm install -g npm@latest
4646
47+ - name : Determine NPM tag
48+ run : |
49+ if [[ "${{ github.ref_name }}" == *"beta"* ]]; then
50+ echo "NPM_TAG=beta" >> $GITHUB_ENV
51+ else
52+ echo "NPM_TAG=latest" >> $GITHUB_ENV
53+ fi
54+
4755 - name : Publish other packages besides create-vuetify
48- run : pnpm --filter "!create-vuetify" -r publish --tag latest --access public --no-git-checks
56+ run : pnpm --filter "!create-vuetify" -r publish --tag ${{ env.NPM_TAG }} --access public --no-git-checks
4957
50- - name : Publish create-vuetify with beta
51- run : pnpm --filter "create-vuetify" publish --tag latest --access public --no-git-checks
58+ - name : Publish create-vuetify
59+ run : pnpm --filter "create-vuetify" publish --tag ${{ env.NPM_TAG }} --access public --no-git-checks
You can’t perform that action at this time.
0 commit comments