mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-09-26 20:41:45 +00:00
chore: bump to 3.0.0-rc.0 and publish npm prereleases under rc tag
This commit is contained in:
@@ -23,7 +23,13 @@ jobs:
|
||||
pnpm install
|
||||
pnpm --filter cryptgeon build
|
||||
|
||||
- run: pnpm publish --filter cryptgeon
|
||||
- name: Publish to npm
|
||||
run: |
|
||||
DIST_TAG=latest
|
||||
if [[ "${GITHUB_REF_NAME}" == *"-"* ]]; then
|
||||
DIST_TAG=rc
|
||||
fi
|
||||
pnpm publish --filter cryptgeon --tag "${DIST_TAG}"
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user