Skip to content

Commit

Permalink
v9.20.3
Browse files Browse the repository at this point in the history
Signed-off-by: YXL <[email protected]>
  • Loading branch information
YXL76 committed Apr 14, 2024
1 parent 7f8139f commit 2be5bff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cloudmusic",
"displayName": "Cloudmusic",
"description": "Netease Music for VS Code",
"version": "9.20.2",
"version": "9.20.3",
"publisher": "YXL",
"private": true,
"preview": false,
Expand Down
4 changes: 3 additions & 1 deletion scripts/publish.mts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ console.log(`Building extension version ${packageJSON.version}`);
const targetMap = {
// [Node target]: [VS Code target]
"win32-x64": ["win32-x64"],
"win32-ia32": ["win32-ia32"],
"win32-arm64": ["win32-arm64"],
"linux-x64": ["linux-x64", "alpine-x64"],
"linux-arm64": ["linux-arm64", "alpine-arm64"],
Expand All @@ -34,6 +35,7 @@ for await (const { name } of Deno.readDir(artifactPath)) {
const base = basename(name, extname(name));
if (
base === "win32-x64" ||
base === "win32-ia32" ||
base === "win32-arm64" ||
base === "linux-x64" ||
base === "linux-arm64" ||
Expand All @@ -51,7 +53,7 @@ console.log("Build complete");

// Publish
// Publish to Visual Studio Marketplace
const publishArgs = ["yarn", "dlx", "-q", "vsce", "publish", "--no-dependencies", "-p", vsceToken, "--target"];
const publishArgs = ["yarn", "dlx", "-q", "vsce", "publish", "--no-dependencies", "--skip-duplicate", "-p", vsceToken, "--target"];
const decoder = new TextDecoder();

// Publish native
Expand Down

0 comments on commit 2be5bff

Please sign in to comment.