Skip to content

Commit

Permalink
updating binary name and version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ADorigi committed Jun 18, 2024
1 parent e3030c1 commit 7627f78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ checksum: {}

builds:
- id: linux
binary: kaytu
binary: plugin
ldflags:
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/pkg/version.VERSION={{ .Version }}
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/plugin/version.VERSION={{ .Version }}
goos:
- linux
goarch:
- amd64
- arm64
main: ./main.go
- id: darwin
binary: kaytu
binary: plugin
ldflags:
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/pkg/version.VERSION={{ .Version }}
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/plugin/version.VERSION={{ .Version }}
goos:
- darwin
goarch:
- amd64
- arm64
main: ./main.go
- id: windows
binary: kaytu
binary: plugin
ldflags:
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/pkg/version.VERSION={{ .Version }}
- -s -w -X github.com/{{ .Env.REPOSITORY_OWNER }}/{{ .Env.REPOSITORY_NAME }}/plugin/version.VERSION={{ .Version }}
goos:
- windows
goarch:
Expand Down

0 comments on commit 7627f78

Please sign in to comment.