File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Publish
2
-
3
- # sh scripts/publish.sh VSCE_KEY
2
+ # publish the tutorial to the VSCode Marketplace
3
+ # script requires a token
4
+ # docs: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
5
+ # run: sh scripts/publish.sh {VSCE_KEY}
4
6
5
7
VSCE_KEY=$1
6
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
16
18
# send to VSCode Marketplace via
17
- 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
You can’t perform that action at this time.
0 commit comments