File tree
Expand file treeCollapse file tree1 file changed
+4
-1
lines changed Expand file treeCollapse file tree1 file changed
+4
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
|
1 | 1 | # Publish
|
2 | 2 |
|
| 3 | +# sh scripts/publish.sh VSCE_KEY |
| 4 | + |
| 5 | +VSCE_KEY=$1 |
3 | 6 | PACKAGE_VERSION=$(grep 'version' package.json \
|
4 | 7 | | cut -d '"' -f4)
|
5 | 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
|
14 |
| -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 |
You can’t perform that action at this time.
0 commit comments