Browse Source

fix: script error...

GyDi 3 năm trước cách đây
mục cha
commit
209a5b1207
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/release.mjs

+ 1 - 1
scripts/release.mjs

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