chore: release next tag

This commit is contained in:
zernonia 2024-11-27 11:54:38 +08:00
parent dc5c3fbb3c
commit 2326784ba0
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# .github/workflows/release.yml
name: Release
name: Release (next)
permissions:
contents: write
@ -29,11 +29,11 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Build CLI & Publish to npm
run: pnpm --filter shadcn-vue pub:release
run: pnpm --filter shadcn-vue pub:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Module & Publish to npm
run: pnpm --filter shadcn-nuxt pub:release
run: pnpm --filter shadcn-nuxt pub:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -33,6 +33,7 @@
"test": "vitest run",
"test:watch": "vitest watch",
"release": "pnpm run prepack && pnpm publish && git push --follow-tags",
"pub:next": "pnpm prepack && pnpm publish --no-git-checks --access public --tag next",
"pub:release": "pnpm prepack && pnpm publish --no-git-checks --access public"
},
"dependencies": {