Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
add build for nitrod and arm64
Browse files Browse the repository at this point in the history
Signed-off-by: Jason McCallister <jason@craftcms.com>
  • Loading branch information
jasonmccallister committed Jul 25, 2020
1 parent 3910a71 commit fa3cbd7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ builds:
- darwin
goarch:
- amd64
- arm64
ldflags: -s -w -X github.com/craftcms/nitro/internal/cmd.Version={{.Version}}
- binary: nitrod
id: nitrod
main: ./cmd/nitrod/main.go
goos:
- linux
goarch:
- amd64
- arm64
ldflags: -s -w -X github.com/craftcms/nitro/internal/api.Version={{.Version}}
archives:
-
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
Expand All @@ -26,6 +36,13 @@ archives:
format_overrides:
- goos: windows
format: zip
-
name_template: "nitrod_{{.Os}}_{{.Arch}}"
id: nitrod
builds:
- nitrod
replacements:
amd64: x86_64
snapshot:
name_template: "{{ .Tag }}"
changelog:
Expand Down

0 comments on commit fa3cbd7

Please # to comment.