소스 검색

fix: script error

GyDi 3 년 전
부모
커밋
82ba604b99
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      scripts/release.mjs

+ 5 - 1
scripts/release.mjs

@@ -34,7 +34,11 @@ async function resolveRelease() {
 
   const github = getOctokit(process.env.GITHUB_TOKEN);
 
-  const release = await github.rest.repos.getReleaseByTag("update");
+  const release = await github.rest.repos.getReleaseByTag({
+    owner: context.repo.owner,
+    repo: context.repo.repo,
+    tag: "update",
+  });
   const { data: assets } = await github.rest.repos.listReleaseAssets({
     owner: context.repo.owner,
     repo: context.repo.repo,