Skip to content

Instantly share code, notes, and snippets.

@codyaray
Last active June 7, 2018 01:22
Show Gist options
  • Save codyaray/67e7dc02cb96c2f1125e0ac44d2eb544 to your computer and use it in GitHub Desktop.
Save codyaray/67e7dc02cb96c2f1125e0ac44d2eb544 to your computer and use it in GitHub Desktop.
project_name: confluent-cli
builds:
-
binary: confluent
main: .
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
gcflags:
- -trimpath={{.Env.GOPATH}}
asmflags:
- -trimpath={{.Env.GOPATH}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386
-
binary: confluent-kafka-plugin
main: ./plugin/confluent-kafka-plugin
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
gcflags:
- -trimpath={{.Env.GOPATH}}
asmflags:
- -trimpath={{.Env.GOPATH}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386
-
binary: confluent-connect-plugin
main: ./plugin/confluent-connect-plugin
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
gcflags:
- -trimpath={{.Env.GOPATH}}
asmflags:
- -trimpath={{.Env.GOPATH}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386
release:
github:
owner: confluentinc
name: cli
prerelease: true
archive:
files:
- LICENSE
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
- ci skip
s3:
-
bucket: cloud-confluent-bin
region: us-west-2
folder: "cli/{{.Version}}"
brew:
github:
owner: confluentinc
name: homebrew-ccloud
folder: Formula
download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy
homepage: https://confluent.io
description: Confluent CLI
commit_author:
name: Cody A. Ray
email: cody@confluent.io
nfpm:
vendor: Confluent, Inc.
homepage: https://confluent.io
description: Confluent CLI
maintainer: Confluent Support <support@confluent.io>
license: Copyright 2018 Confluent, Inc.
formats:
- deb
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment