Skip to content

Commit

Permalink
Release on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
braheezy committed Aug 5, 2024
1 parent c5a53e5 commit 30f672c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ jobs:
path: dist/invaders-${{ matrix.GOOS }}-${{ matrix.GOARCH }}.zip

release:
# if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
- test
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -112,5 +113,5 @@ jobs:
dist/invaders-linux-amd64.zip
dist/invaders-darwin-amd64.zip
generate_release_notes: true
draft: true
draft: false
fail_on_unmatched_files: true

0 comments on commit 30f672c

Please sign in to comment.