-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project: add goreleaser configuration. (#374)
Adds configuration for GoReleaser to the project/CI. By default releases are added to the repository in draft status. This gives maintainers a chance to write the release notes/changelog and verify the build artifacts before publishing the release. Tags with "rc" in the name will be marked as pre-release candidates automatically. Updates #351
- Loading branch information
Daniel McCarney
authored
Feb 3, 2020
1 parent
8a37cc7
commit 72fb7ad
Showing
4 changed files
with
47 additions
and
0 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 |
---|---|---|
|
@@ -121,3 +121,6 @@ cmd/zlint-gtld-update/zlint-gtld-update | |
|
||
### Integration test data ### | ||
data | ||
|
||
### Goreleaser builds ### | ||
dist |
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,30 @@ | ||
project_name: zlint | ||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- | ||
main: ./cmd/zlint/main.go | ||
binary: zlint | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- freebsd | ||
- windows | ||
- darwin | ||
goarch: | ||
- amd64 | ||
archives: | ||
- | ||
wrap_in_directory: true | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
amd64: x86_64 | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
release: | ||
draft: true | ||
prerelease: auto |
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
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