Browse Source

fix: script error...

GyDi 3 years ago
parent
commit
209a5b1207
1 changed files with 1 additions and 1 deletions
  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",