Skip to content

Commit

Permalink
disable release when version is nightly (#208)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: FingerLeader <[email protected]>
  • Loading branch information
FingerLeader authored Jul 15, 2024
1 parent 31db505 commit c07731c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: v1.12.3
args: release --release-notes=.CHANGELOG.md
args: release ${{ contains(github.ref, 'nightly') && '--skip==publish' || '--release-notes=.CHANGELOG.md' }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GORELEASER_CURRENT_TAG: ${{steps.changelog.outputs.TAG_NAME}}
Expand Down

0 comments on commit c07731c

Please sign in to comment.