Skip to content

Commit

Permalink
fix(ci): get tag name on release job from correct github property
Browse files Browse the repository at this point in the history
"ref_name", not "ref"
  • Loading branch information
growse committed Jul 16, 2024
1 parent c10d94f commit c72bfce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
name: Find beta tags if this is a prod release
id: get_beta_tags
with:
route: GET /repos/owntracks/android/git/matching-refs/tags/${{ github.ref }}-beta
route: GET /repos/owntracks/android/git/matching-refs/tags/${{ github.ref_name }}-beta
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo beta tags: '${{ steps.get_beta_tags.outputs.data }}'"
- name: Get number of matching tags
id: tagCount
env:
Expand Down

0 comments on commit c72bfce

Please sign in to comment.