Skip to content

Commit

Permalink
disable release when version is nightly
Browse files Browse the repository at this point in the history
Signed-off-by: FingerLeader <[email protected]>
  • Loading branch information
FingerLeader committed Jul 15, 2024
1 parent 51039b4 commit 78087d0
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 78087d0

Please sign in to comment.