Skip to content

Commit

Permalink
ci: use git tag as release name (#911)
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Wagner <[email protected]>
  • Loading branch information
nwagner84 authored Feb 14, 2025
1 parent 70910b1 commit fcd40e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 286 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "$VERSION" --draft --generate-notes --title "v$VERSION"
gh release create "$RELEASE_TAG" --verify-tag --draft --generate-notes --title "$RELEASE_TAG"
outputs:
version: ${{ env.VERSION }}
tag: ${{ env.RELEASE_TAG }}

release:
needs: prepare
Expand Down Expand Up @@ -117,6 +118,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
version="${{ needs.prepare.outputs.version }}"
gh release upload "$version" ${{ env.ASSET_CHECKSUM }}
gh release upload "$version" ${{ env.ASSET }}
gh release upload "${{ needs.prepare.outputs.tag }}" ${{ env.ASSET_CHECKSUM }}
gh release upload "${{ needs.prepare.outputs.tag }}" ${{ env.ASSET }}
282 changes: 0 additions & 282 deletions .github/workflows/release.yml.bak

This file was deleted.

0 comments on commit fcd40e2

Please sign in to comment.