fix: script error...

This commit is contained in:
GyDi 2022-01-19 00:49:23 +08:00
parent 95349eacab
commit 209a5b1207
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -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",