We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe11aa commit a740752Copy full SHA for a740752
scripts/publish.sh
@@ -0,0 +1,14 @@
1
+# Publish
2
+
3
+PACKAGE_VERSION=$(grep 'version' package.json \
4
+ | cut -d '"' -f4)
5
+RELEASES_FOLDER=releases
6
+OUTPUT_FILE=coderoad-$PACKAGE_VERSION.vsix
7
+RAW_PATH=https://github.com/coderoad/coderoad-vscode/blob/master
8
9
+# comment out until confident in testing process
10
+git tag -a v$PACKAGE_VERSION -m "Releasing version v$PACKAGE_VERSION"
11
+git push origin v$PACKAGE_VERSION
12
13
+# send to VSCode Marketplace via
14
+vsce publish -p $VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl $RAW_PATH --baseImagesUrl $RAW_PATH
0 commit comments