mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-02 19:17:33 +01:00
fix(goreleaser): reverse --snapshot ternary expression
This commit is contained in:
4
.github/workflows/goreleaser.yml
vendored
4
.github/workflows/goreleaser.yml
vendored
@@ -3,8 +3,6 @@ name: Release with GoReleaser
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
@@ -61,7 +59,7 @@ jobs:
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: "v2.12.7"
|
||||
args: release --clean ${{ github.ref_type == 'tag' && '' || '--snapshot' }}
|
||||
args: release --clean ${{ github.ref_type != 'tag' && '--snapshot' || '' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user