Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit287d9df

Browse files
authored
Merge pull request#360 from coderoad/feature/update-publish-script
update publish script
2 parents7a8e056 +637f517 commit287d9df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎scripts/publish.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Publish
22

3+
# sh scripts/publish.sh VSCE_KEY
4+
5+
VSCE_KEY=$1
36
PACKAGE_VERSION=$(grep'version' package.json \
47
| cut -d'"' -f4)
58
RELEASES_FOLDER=releases
@@ -11,4 +14,4 @@ git tag -a v$PACKAGE_VERSION -m "Releasing version v$PACKAGE_VERSION"
1114
git push origin v$PACKAGE_VERSION
1215

1316
# send to VSCode Marketplace via
14-
vsce publish -p$VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl$RAW_PATH --baseImagesUrl$RAW_PATH
17+
npxvsce publish -p$VSCE_KEY --packagePath ./$RELEASES_FOLDER/$OUTPUT_FILE --baseContentUrl$RAW_PATH --baseImagesUrl$RAW_PATH

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp