Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a8e056 + 637f517 commit 287d9dfCopy full SHA for 287d9df
scripts/publish.sh
@@ -1,5 +1,8 @@
1
# Publish
2
3
+# sh scripts/publish.sh VSCE_KEY
4
+
5
+VSCE_KEY=$1
6
PACKAGE_VERSION=$(grep 'version' package.json \
7
| cut -d '"' -f4)
8
RELEASES_FOLDER=releases
@@ -11,4 +14,4 @@ git tag -a v$PACKAGE_VERSION -m "Releasing version v$PACKAGE_VERSION"
11
14
git push origin v$PACKAGE_VERSION
12
15
13
16
# send to VSCode Marketplace via
-vsce publish -p $VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl $RAW_PATH --baseImagesUrl $RAW_PATH
17
+npx vsce publish -p $VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl $RAW_PATH --baseImagesUrl $RAW_PATH
0 commit comments