Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds goreleaser so that new binaries will automatically be uploaded to Github when a tag is pushed. Goreleaser will be triggered by github action (#50).
- Loading branch information
1 parent
f15067e
commit b46923a
Showing
3 changed files
with
35 additions
and
2 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 |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
.tmp/ | ||
/astro/graph.png | ||
/bin | ||
/vendor | ||
/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,32 @@ | ||
project_name: astro | ||
archive: | ||
format_overrides: | ||
- goos: darwin | ||
format: zip | ||
replacements: | ||
amd64: 64-bit | ||
386: 32-bit | ||
darwin: macOS | ||
before: | ||
hooks: | ||
- go mod download | ||
builds: | ||
- binary: astro | ||
main: ./astro/cli/astro/main.go | ||
env: | ||
- GO111MODULE=on | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
ldflags: | ||
- -s -w -X github.com/uber/astro/astro/cli/astro/cmd.version={{.Version}} -X github.com/uber/astro/astro/cli/astro/cmd.commit={{.ShortCommit}} -X github.com/uber/astro/astro/cli/astro/cmd.date={{.Date}} | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- "^docs:" | ||
- "^test:" | ||
checksum: | ||
name_template: "checksums.txt" | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" |
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