Skip to content

Commit 718a65b

Browse files
ci: fix release binaries tag name (#76)
1 parent c8cc5bb commit 718a65b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919

20+
outputs:
21+
version: ${{ steps.extract-version.outputs.VERSION }}
22+
2023
steps:
2124
- name: Generate GitHub App token
2225
id: app-token
@@ -159,10 +162,12 @@ jobs:
159162
if: ${{ !contains(matrix.target, '-windows-') }}
160163
uses: softprops/action-gh-release@v2
161164
with:
165+
tag_name: ${{ needs.release.outputs.version }}
162166
files: target/${{ matrix.package }}-${{ github.ref_name }}-${{ matrix.target }}.tar.gz
163167

164168
- name: Upload release asset (zip)
165169
if: ${{ contains(matrix.target, '-windows-') }}
166170
uses: softprops/action-gh-release@v2
167171
with:
172+
tag_name: ${{ needs.release.outputs.version }}
168173
files: target/${{ matrix.package }}-${{ github.ref_name }}-${{ matrix.target }}.zip

0 commit comments

Comments
 (0)