We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e485851 commit 76e551aCopy full SHA for 76e551a
scripts/publish.sh
@@ -1,6 +1,8 @@
1
# Publish
2
-
3
-# sh scripts/publish.sh VSCE_KEY
+# publish the tutorial to the VSCode Marketplace
+# script requires a token
4
+# docs: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
5
+# run: sh scripts/publish.sh {VSCE_KEY}
6
7
VSCE_KEY=$1
8
PACKAGE_VERSION=$(grep 'version' package.json \
@@ -14,4 +16,4 @@ git tag -a v$PACKAGE_VERSION -m "Releasing version v$PACKAGE_VERSION"
14
16
git push origin v$PACKAGE_VERSION
15
17
18
# send to VSCode Marketplace via
-npx vsce publish -p $VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl $RAW_PATH --baseImagesUrl $RAW_PATH
19
+vsce publish -p $VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl $RAW_PATH --baseImagesUrl $RAW_PATH
0 commit comments