Add pre-release flag to vsce publish command

- Modified the vsce publish command in the CircleCI configuration file.
- Added the --pre-release flag to allow publishing of pre-release versions.
This commit is contained in:
bobo.yang 2023-08-21 11:52:00 +08:00
parent bd430c6d8a
commit 20aeb03a93

View File

@ -25,7 +25,7 @@ jobs:
sed -i "s/\"version\": \".*\",/\"version\": \"${CIRCLE_TAG:1}\",/" package.json
- run:
name: "Publish to Marketplace"
command: npx vsce publish -p $VSCE_TOKEN --allow-star-activation
command: npx vsce publish -p $VSCE_TOKEN --allow-star-activation --pre-release
workflows:
version: 2
build-and-publish: