Skip to content

Commit

Permalink
ci: fix releasing (#26)
Browse files Browse the repository at this point in the history
* feat(ci): improve pipeline
  • Loading branch information
camaeel authored Oct 3, 2024
1 parent 2ae5811 commit ebad38f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- "v*.*-*"
- "v*.*.*-*"

name: Release
jobs:
Expand All @@ -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 }}`

0 comments on commit ebad38f

Please sign in to comment.