Skip to content

Commit

Permalink
TRY-toFIX: Unhandled error: TypeError: Cannot read properties of unde… (
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion authored Jul 13, 2023
2 parents febc2b4 + f043999 commit ed728dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease-changelog-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
github-token: ${{ secrets.BOT_TOKEN }}
script: |
const { owner, repo } = context.repo;
const release = await github.repos.getReleaseByTag({
const release = await github.rest.repos.getReleaseByTag({
owner,
repo,
tag: context.ref.replace('refs/tags/', '')
});
await github.repos.updateRelease({
await github.rest.repos.updateRelease({
owner,
repo,
release_id: release.data.id,
Expand Down

0 comments on commit ed728dc

Please sign in to comment.