Skip to content

Commit

Permalink
Update goreleaser syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-silvas committed Feb 15, 2025
1 parent 3902d0e commit ed33894
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .goreleaser-for-darwin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
project_name: "dmux"
builds:
- id: "dmux-osx-amd64"
Expand Down
1 change: 1 addition & 0 deletions .goreleaser-for-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
project_name: "dmux"
builds:
- id: "dmux-linux-amd64"
Expand Down
7 changes: 5 additions & 2 deletions .goreleaser-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
project_name: "dmux"

builds:
Expand All @@ -20,10 +21,12 @@ brews:
commit_author:
name: "Josh Silvas"
email: "[email protected]"
tap:
repository:
owner: "josh-silvas"
name: "dmux"
folder: "Formula"
branch: "main"
token: "{{ .Env.GITHUB_TOKEN }}"
directory: "Formula"
url_template: "https://github.com/josh-silvas/dmux/releases/{{ .ProjectName }}/{{ .Tag }}/{{ .ArtifactName }}"
caveats: |
DMux v{{ .Tag }} Notes:
Expand Down
7 changes: 5 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
project_name: "dmux"

release:
Expand All @@ -12,10 +13,12 @@ brews:
commit_author:
name: "Josh Silvas"
email: "[email protected]"
tap:
repository:
owner: "josh-silvas"
name: "dmux"
folder: "Formula"
branch: "main"
token: "{{ .Env.GITHUB_TOKEN }}"
directory: "Formula"
url_template: "https://github.com/josh-silvas/dmux/releases/{{ .ProjectName }}/{{ .Tag }}/{{ .ArtifactName }}"
caveats: |
DMux v{{ .Tag }} Notes:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _release:
@rm -rf build/*
@git tag -d $(VERSION) || true
@git tag $(VERSION)
@goreleaser --rm-dist
@goreleaser release --clean
.PHONY: _release

test_release: .env ## Test a release
Expand Down

0 comments on commit ed33894

Please sign in to comment.