diff --git a/.github/workflows/wails.yml b/.github/workflows/wails.yml index 63cb9af..636fc01 100644 --- a/.github/workflows/wails.yml +++ b/.github/workflows/wails.yml @@ -1,4 +1,4 @@ -name: Wails build +name: Release YellowJacket permissions: contents: write @@ -23,7 +23,7 @@ jobs: - name: 'yellowjacket' platform: 'linux/amd64' os: 'ubuntu-latest' - - name: 'yellowjacket' + - name: 'yellowjacket.exe' platform: 'windows/amd64' os: 'windows-latest' - name: 'yellowjacket' @@ -53,5 +53,26 @@ jobs: with: build-name: ${{ matrix.build.name }} build-platform: ${{ matrix.build.platform }} - package: true go-version: '1.24' + + - name: Release + uses: softprops/action-gh-release@v2 + if: github.ref_type == 'tag' + with: + prerelease: true + body: | + # YellowJacket Release ${{ GITHUB_REF_NAME }} + + This is an early preview of YellowJacket. Please report any bugs to [our issues] page. + + Thanks for trying out our app! + + ## Which do I click? + + - Linux: `yellowjacket` + - Windows: `yellowjacket.exe` + - MacOS: `yellowjacket.app.zip` + files: | + ./build/bin/yellowjacket + ./build/bin/yellowjacket.exe + ./build/bin/yellowjacket.app.zip