Skip to content
Snippets Groups Projects
Unverified Commit 82ba604b authored by GyDi's avatar GyDi
Browse files

fix: script error

parent 46a8dec6
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,11 @@ async function resolveRelease() {
const github = getOctokit(process.env.GITHUB_TOKEN);
const release = await github.rest.repos.getReleaseByTag("update");
const release = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: "update",
});
const { data: assets } = await github.rest.repos.listReleaseAssets({
owner: context.repo.owner,
repo: context.repo.repo,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment