fix: script error...

This commit is contained in:
GyDi 2022-01-19 00:49:23 +08:00
parent 7585893cf0
commit efc00c1610

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