Skip to content

Commit

Permalink
fix: correct ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri authored Sep 10, 2022
1 parent 96b96fa commit 592bbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: actions/github-script@v6
with:
script: |
const { data: { object: { sha } } } = github.rest.git.getRef({ ...context.repo, ref: '${{ matrix.release }}' })
const { data: { object: { sha } } } = github.rest.git.getRef({ ...context.repo, ref: 'tags/${{ matrix.release }}' })
await github.rest.git.deleteRef({ ...context.repo, ref: 'tags/${{ matrix.alias }}' }).catch(() => {})
await github.rest.git.createRef({ ...context.repo, ref: 'refs/tags/${{ matrix.alias }}', sha })
Expand Down

0 comments on commit 592bbf3

Please sign in to comment.