-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding goreleaser, end-of-file-fixer ignore for testdata
- Loading branch information
Showing
2 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
release: | ||
# If set to auto, will mark the release as not ready for production in case there is an indicator for this in the | ||
# tag e.g. v1.0.0-rc1 .If set to true, will mark the release as not ready for production. | ||
prerelease: auto | ||
|
||
builds: | ||
- id: linux-build | ||
binary: airlock | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
# commented these out so i work on implementing them with airlock | ||
# ldflags: &build-ldflags | | ||
# -X github.com/massdriver-cloud/mass/pkg/version.version={{.Version}} | ||
# -X github.com/massdriver-cloud/mass/pkg/version.gitSHA={{.FullCommit}} | ||
|
||
- id: darwin-build | ||
binary: airlock | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
ldflags: *build-ldflags | ||
|
||
archives: | ||
- id: linux-archives | ||
builds: | ||
- linux-build | ||
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
|
||
- id: darwin-archives | ||
builds: | ||
- darwin-build | ||
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters