Skip to content

Commit

Permalink
Add support for pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
myhro committed Dec 19, 2021
1 parent 52ad99f commit 532d79a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ jobs:
path: dist/
name: dist
- uses: softprops/action-gh-release@v1
if: contains(github.ref, '-rc')
with:
files: |
dist/staticd-darwin-amd64
dist/staticd-linux-amd64
dist/staticd-linux-arm
dist/staticd-linux-arm64
prerelease: true
- uses: softprops/action-gh-release@v1
if: contains(github.ref, '-rc') == false
with:
files: |
dist/staticd-darwin-amd64
Expand Down

0 comments on commit 532d79a

Please sign in to comment.