-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update README * Add goreleaser config
- Loading branch information
Showing
5 changed files
with
42 additions
and
8 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,34 @@ | ||
builds: | ||
- main: ./cmd/ipni | ||
binary: ipni | ||
ldflags: | ||
# Sets the version variable in the build package to the build version prefixed with a 'v' | ||
# Sets the main.date to a static date for checksum verification. See https://goreleaser.com/customization/builds/#reproducible-builds. | ||
- -s -w -X github.com/ipni/ipni-cli/ipnicli.Revision={{.Commit}} -X github.com/ipni/ipni-cli/ipnicli.Release=v{{.Version}} -X github.com/ipni/ipni-cli/ipnicli.Version=v{{.Version}}-{{.Commit}} | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
goarch: | ||
- 'amd64' | ||
- 'arm64' | ||
# Change to a static date for checksum verification. See https://goreleaser.com/customization/builds/#reproducible-builds. | ||
mod_timestamp: '{{.CommitTimestamp}}' | ||
env: | ||
- CGO_ENABLED=0 | ||
universal_binaries: | ||
- replace: true | ||
archives: | ||
- format_overrides: | ||
- goos: windows | ||
format: zip | ||
- goos: darwin | ||
format: tar.xz | ||
name_template: >- | ||
{{ .ProjectName }}_{{ .Version }}_ | ||
{{- if eq .Os "darwin" }}mac_os | ||
{{- else }}{{ .Os }}{{ end }}_{{ .Arch }} | ||
release: | ||
mode: keep-existing | ||
changelog: | ||
skip: true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "v0.1.6" | ||
"version": "v0.1.7" | ||
} |