Skip to content

Commit

Permalink
Update github ref variable for publishing release
Browse files Browse the repository at this point in the history
  • Loading branch information
mlieberman85 committed Apr 14, 2024
1 parent 00d2529 commit 88aa9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: startsWith(github.ref, 'refs/tags/')
run: gh release upload ${{github.event.release.tag_name}} target/release/skootrs
run: gh release upload ${{ github.ref_name }} target/release/skootrs
# TODO: Don't make this hardcoded.
- name: Generate hashes
id: hash
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: startsWith(github.ref, 'refs/tags/')
run: gh release upload ${{github.event.release.tag_name}} skootrs.spdx.json
run: gh release upload ${{ github.ref_name }} skootrs.spdx.json
provenance-bins:
permissions:
id-token: write
Expand Down

0 comments on commit 88aa9be

Please sign in to comment.