-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
069bc12
commit 631f961
Showing
1 changed file
with
57 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
before: | ||
hooks: | ||
- go mod download | ||
|
||
builds: | ||
- id: default | ||
goos: | ||
- darwin | ||
- linux | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
- goos: linux | ||
goarch: 386 | ||
ldflags: | ||
- -X github.com/camerondurham/ch/version.PkgVersion={{ .Version }} | ||
- -X github.com/camerondurham/ch/version.GitRevision={{ .ShortCommit }} | ||
|
||
- id: windows | ||
goos: | ||
- windows | ||
ignore: | ||
- goos: windows | ||
goarch: 386 | ||
ldflags: | ||
- -X github.com/camerondurham/ch/version.PkgVersion={{ .Version }} | ||
- -X github.com/camerondurham/ch/version.GitRevision={{ .ShortCommit }} | ||
|
||
|
||
release: | ||
prerelease: auto | ||
|
||
brews: | ||
- | ||
name: ch | ||
|
||
# NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the | ||
# same kind. We will probably unify this in the next major version like it is done with scoop. | ||
|
||
tap: | ||
owner: camerondurham | ||
name: homebrew-tap | ||
branch: main | ||
url_template: "http://github.com/camerondurham/ch/releases/{{ .Tag }}/{{ .ArtifactName }}" | ||
commit_author: | ||
name: goreleaserbot | ||
email: [email protected] | ||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" | ||
folder: Formula | ||
homepage: "https://github.com/camerondurham/ch" | ||
description: "Docker config and shell manager for using (or misusing) containers as dev environments" | ||
license: "Apache-2.0" | ||
skip_upload: auto | ||
test: | | ||
system "#{bin}/ch --version" | ||
install: | | ||
bin.install "ch" |