diff --git a/.changeset/seven-carrots-allow.md b/.changeset/seven-carrots-allow.md new file mode 100644 index 0000000000..b71af15ff6 --- /dev/null +++ b/.changeset/seven-carrots-allow.md @@ -0,0 +1,5 @@ +--- +"@scow/cli": patch +--- + +cli update 命令切换 repo 名称和 cli 名称 diff --git a/apps/cli/src/cmd/updateCli.ts b/apps/cli/src/cmd/updateCli.ts index 4c167ade89..8e1cbdfc62 100644 --- a/apps/cli/src/cmd/updateCli.ts +++ b/apps/cli/src/cmd/updateCli.ts @@ -30,7 +30,7 @@ interface Options { } const owner = "PKUHPC"; -const repo = "SCOW"; +const repo = "OpenSCOW"; const workflow_id = "test-build-publish.yaml"; const allowedArch = ["x64", "arm64"]; @@ -128,7 +128,7 @@ Please provide your GitHub personal access token via GITHUB_TOKEN in env or .env const artifacts = await octokit.rest.actions.listWorkflowRunArtifacts({ owner, repo, run_id: latestRun.id }); - const artifactName = "scow-cli-" + arch; + const artifactName = "openscow-cli-" + arch; const artifact = artifacts.data.artifacts.find((a) => a.name === artifactName);