Use tag v6 when releasing from this branch
This commit is contained in:
parent
89009f0281
commit
5ff15c6ee1
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -129,10 +129,7 @@ jobs:
|
|||||||
echo "Can't publish on NPM, You must first create a secret called NPM_TOKEN that contains your NPM auth token. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets"
|
echo "Can't publish on NPM, You must first create a secret called NPM_TOKEN that contains your NPM auth token. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
EXTRA_ARGS=""
|
EXTRA_ARGS="--tag v6"
|
||||||
if [ "$IS_PRE_RELEASE" = "true" ]; then
|
|
||||||
EXTRA_ARGS="--tag next"
|
|
||||||
fi
|
|
||||||
npm publish $EXTRA_ARGS --tag previous
|
npm publish $EXTRA_ARGS --tag previous
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user