Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 36684c6

Browse files
authored
Fix goreleaser (#257)
1 parent daef366 commit 36684c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/artifact-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ jobs:
480480
with:
481481
distribution: goreleaser
482482
version: latest
483-
args: release --rm-dist
483+
args: release --clean
484484
workdir: cli
485485
env:
486486
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }} # needs to be a non-action token because this also pushes to the homebrew repo

cli/.goreleaser.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ builds:
1313
ldflags:
1414
- -s -w -X 'github.com/nucleuscloud/neosync/neosync/cli/internal/version.buildDate={{.Date}}' -X 'github.com/nucleuscloud/neosync/neosync/cli/internal/version.gitCommit={{.Commit}}' -X 'github.com/nucleuscloud/neosync/neosync/cli/internal/version.gitVersion={{.Version}}'
1515

16+
main: cmd/neosync
17+
1618
checksum:
1719
name_template: 'checksums.txt'
1820
# signs:
@@ -37,7 +39,7 @@ changelog:
3739
- '^docs:'
3840
- '^test:'
3941
brews:
40-
- tap:
42+
- repository:
4143
owner: nucleuscloud
4244
name: homebrew-tap
4345
folder: Formula

0 commit comments

Comments
 (0)