Nicer Release Formatting

This commit is contained in:
TheBrokenRail 2023-09-21 12:55:40 -04:00
parent a8835153b0
commit c0cd9b8b1f

View File

@ -33,6 +33,7 @@ jobs:
path: ./out/*.AppImage* path: ./out/*.AppImage*
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
if: startsWith(github.ref, 'refs/tags/')
with: with:
go-version: '>=1.20.1' go-version: '>=1.20.1'
- name: Create Release - name: Create Release
@ -41,4 +42,5 @@ jobs:
with: with:
files: ./out/*.AppImage* files: ./out/*.AppImage*
api_key: ${{ secrets.RELEASE_TOKEN }} api_key: ${{ secrets.RELEASE_TOKEN }}
draft: true title: v${{ github.ref_name }}
body: "[View Changelog](https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/src/branch/master/docs/CHANGELOG.md)"