Skip to content

Commit

Permalink
ci: use ref_name when release on tag push
Browse files Browse the repository at this point in the history
Signed-off-by: Yves Brissaud <[email protected]>
  • Loading branch information
eunomie committed Feb 16, 2024
1 parent de8d14a commit 4e349fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
permissions:
contents: write
env:
RELEASE_REF: ${{ github.event_name == 'push' && github.ref || inputs.tag }}
RELEASE_REF: ${{ github.event_name == 'push' && github.ref_name || inputs.tag }}
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down

0 comments on commit 4e349fb

Please sign in to comment.