Skip to content

Commit

Permalink
Fix release creation step in main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron1 committed Dec 31, 2023
1 parent f572ace commit aa2bbd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,11 @@ jobs:
- name: Create Release
if: ${{ github.event_name == 'push' && startswith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
run: |
gh release create v${{ needs.version.outputs.version }} --generate-notes *.deb *.pkg *.zip
gh --repo "${REPO}" release create "${VERSION}" --generate-notes *.deb *.pkg *.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
VERSION: v${{ needs.version.outputs.version }}

format_check:
name: Rust lint
Expand Down

0 comments on commit aa2bbd8

Please sign in to comment.