diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88bc815..da8aa9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ on: push: tags: - - "v*.*-*" + - "v*.*.*-*" name: Release jobs: @@ -21,13 +21,14 @@ jobs: path: bin - name: debug list files run: find . + - name: Release uses: softprops/action-gh-release@v1 with: files: bin/thundering-herd-scheduler* append_body: true - draft: contains(github.ref, 'alpha') || contains(github.ref, 'beta') - prerelease: contains(github.ref, 'rc') + draft: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }} + prerelease: ${{ contains(github.ref, 'rc') }} body: | Build also available as docker image: `ghcr.io/${{ github.repository }}:${{ github.ref_name }}`