Skip to content

Commit

Permalink
ci: only create releases on tags, not from main
Browse files Browse the repository at this point in the history
  • Loading branch information
bvobart committed May 2, 2024
1 parent 58f1d84 commit 1fe9c4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ jobs:

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags/')
with:
draft: github.ref == 'refs/heads/main'
prerelease: true
# body: "" # TODO
files: |
Expand Down

0 comments on commit 1fe9c4a

Please sign in to comment.