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 9fe11aa + a740752 commit 7fdc351Copy full SHA for 7fdc351
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