Explorar el Código

fix: script error...

GyDi hace 3 años
padre
commit
209a5b1207
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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",