Skip to content

Commit 74e2e3f

Browse files
committed
[fix] Correctly handle github ref tags
1 parent 28ee8ea commit 74e2e3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-multi-os.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
id: create_release
2929
uses: ncipollo/[email protected]
3030
with:
31-
tag: ${{ github.ref_name }}
31+
tag: ${{ github.ref }}
3232
name: Release ${{ github.ref_name }}
3333
bodyFile: release_text.md
3434
draft: ${{ steps.release_type.outputs.is_beta }}
@@ -66,7 +66,7 @@ jobs:
6666
repo_token: ${{ secrets.GITHUB_TOKEN }}
6767
file: ${{ needs.create-release.outputs.is_beta == 'true' && 'target/PyES Beta.deb' || 'target/PyES.deb' }}
6868
asset_name: ${{ needs.create-release.outputs.is_beta == 'true' && format('PyES Beta-{0}.deb', github.ref_name) || format('PyES-{0}.deb', github.ref_name) }}
69-
tag: ${{ github.ref_name }}
69+
tag: ${{ github.ref }}
7070
overwrite: true
7171

7272
build-macos:
@@ -94,7 +94,7 @@ jobs:
9494
repo_token: ${{ secrets.GITHUB_TOKEN }}
9595
file: ${{ needs.create-release.outputs.is_beta == 'true' && 'target/PyES Beta.dmg' || 'target/PyES.dmg' }}
9696
asset_name: ${{ needs.create-release.outputs.is_beta == 'true' && format('PyES Beta-{0}.dmg', github.ref_name) || format('PyES-{0}.dmg', github.ref_name) }}
97-
tag: ${{ github.ref_name }}
97+
tag: ${{ github.ref }}
9898
overwrite: true
9999

100100
build-windows:
@@ -122,7 +122,7 @@ jobs:
122122
repo_token: ${{ secrets.GITHUB_TOKEN }}
123123
file: ${{ needs.create-release.outputs.is_beta == 'true' && 'target/PyES BetaSetup.exe' || 'target/PyESSetup.exe' }}
124124
asset_name: ${{ needs.create-release.outputs.is_beta == 'true' && format('PyES Beta-{0}.exe', github.ref_name) || format('PyES-{0}.exe', github.ref_name) }}
125-
tag: ${{ github.ref_name }}
125+
tag: ${{ github.ref }}
126126
overwrite: true
127127

128128
rollback-release:
@@ -136,6 +136,6 @@ jobs:
136136
- name: Rollback
137137
uses: author/[email protected]
138138
with:
139-
tag: ${{ github.ref_name }}
139+
tag: ${{ github.ref }}
140140
env:
141141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)