-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release workflow for multi-platform binaries. (#47)
* Add release workflow for multi-platform binaries.
- Loading branch information
1 parent
ac5a335
commit 68047d7
Showing
2 changed files
with
53 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
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: k8ssandra-client | ||
builds: | ||
- binary: "kubectl-k8ssandra" | ||
main: ./cmd/kubectl-k8ssandra/main.go | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
mod_timestamp: '{{ .CommitTimestamp }}' | ||
flags: | ||
- -trimpath | ||
|
||
|
||
# proxies from the go mod proxy before building | ||
# https://goreleaser.com/customization/gomod | ||
gomod: | ||
proxy: false | ||
|
||
# config the checksum filename | ||
# https://goreleaser.com/customization/checksum | ||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
# create a source tarball | ||
# https://goreleaser.com/customization/source/ | ||
source: | ||
enabled: true |