Skip to content

Commit

Permalink
Fixup: Add GitHub Action for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilius committed Dec 4, 2024
1 parent ebe0e15 commit db8deee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
types:
- created # Not always triggered
push:
branches: [master]
tags:
- "v*"

Expand Down Expand Up @@ -48,7 +47,7 @@ jobs:
const assetPath = (await globber.glob())[0]
// Get release for this tag
const tag = context.ref.replace('refs/tags/', '')
const release = await github.repos.getReleaseByTag({
const release = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag
Expand Down

0 comments on commit db8deee

Please sign in to comment.