diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07aa51b..7d64e6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,17 +63,13 @@ jobs: git push origin "v$NEW_VERSION" - name: Create GitHub Release - uses: actions/create-release@v1 + run: | + gh release create "v${{ steps.version.outputs.new_version }}" \ + --title "Release v${{ steps.version.outputs.new_version }}" \ + --notes "## Changes + + See the [changelog](https://github.com/${{ github.repository }}/compare/v${{ steps.version.outputs.new_version }}...HEAD) for details. + + **Full Changelog**: https://github.com/${{ github.repository }}/commits/v${{ steps.version.outputs.new_version }}" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ steps.version.outputs.new_version }} - release_name: Release v${{ steps.version.outputs.new_version }} - draft: false - prerelease: false - body: | - ## Changes - - See the [changelog](https://github.com/${{ github.repository }}/compare/v${{ steps.version.outputs.new_version }}...HEAD) for details. - - **Full Changelog**: https://github.com/${{ github.repository }}/commits/v${{ steps.version.outputs.new_version }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file