Skip to content

Commit

Permalink
releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
sadayuki-matsuno committed Apr 14, 2020
1 parent e8a7c2a commit fa44349
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
project_name: git-credential-substitute
env:
- GO111MODULE=on
builds:
- main: .
binary: git-credential-substitute
ldflags:
- -s -w
- -X main.Version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64

archives:
- name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
release:
prerelease: auto

# homebrew
brews:
- description: "git credential helper, which switches git credentials for the username/organization."
github:
owner: sadayuki-matsuno
name: homebrew-git-credential-substitute.
homepage: "/~https://github.com/sadayuki-matsuno/git-credential-substitute"
install: |
bin.install "git-credential-substitute"

0 comments on commit fa44349

Please sign in to comment.