Skip to content

Commit

Permalink
goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Nov 7, 2023
1 parent 3603715 commit 1df8e79
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ builds:
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- id: ctl
main: ./cmd/userctl
binary: userctl
Expand All @@ -37,6 +39,8 @@ builds:
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- id: takreplay
main: ./cmd/takreplay
binary: takreplay
Expand All @@ -53,6 +57,8 @@ builds:
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- id: client
main: ./cmd/webclient
binary: goatak_client
Expand All @@ -66,11 +72,16 @@ builds:
goos: [ windows, linux, darwin ]
goarch: [ amd64, arm64, arm ]
goarm: [ 6, 7 ]
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
archives:
- id: server
builds: [ server, ctl, takreplay ]
format: zip
name_template: 'server_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
name_template: 'server_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}'
files:
- goatak_server.yml
- users.yml
Expand All @@ -79,7 +90,7 @@ archives:
- id: client
builds: [ client, takreplay ]
format: zip
name_template: 'client_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
name_template: 'client_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}'
files:
- goatak_client*.yml
release:
Expand Down

0 comments on commit 1df8e79

Please sign in to comment.