1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00
This commit is contained in:
Carlos Alexandro Becker 2017-01-15 14:40:21 -02:00
parent c081854018
commit c46b003087
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -1,13 +1,13 @@
# Build customization # Build customization
build: build:
# main.go path. # Path to main.go file.
# Default is `main.go` # Default is `main.go`
main: ./cmd/main.go main: ./cmd/main.go
# name of the binary. Default is the name of the project directory. # Name of the binary. Default is the name of the project directory.
binary_name: program binary_name: program
# custom ldflags. # Custom ldflags.
# Default is `-s -w` # Default is `-s -w`
ldflags: -s -w ldflags: -s -w
@ -26,7 +26,7 @@ build:
# Archive customization # Archive customization
archive: archive:
# You can change the name of the archive. # You can change the name of the archive.
# This is parsed with golang template engine and the following variables # This is parsed with Golang template engine and the following variables
# are available: # are available:
# - BinaryName # - BinaryName
# - Version # - Version
@ -40,10 +40,10 @@ archive:
format: zip format: zip
# Replacements for GOOS and GOARCH on the archive name. # Replacements for GOOS and GOARCH on the archive name.
# The left values should be a valid GOOS or GOARCH name, and the right # The keys should be valid GOOS or GOARCH values followed by your custom
# the name you want instead. # replacements.
# By default, replacements replace GOOS and GOARCH values with valid outputs # By default, `replacements` replace GOOS and GOARCH values with valid outputs
# of uname -s and uname -m respectively. # of `uname -s` and `uname -m` respectively.
replacements: replacements:
amd64: 64-bit amd64: 64-bit
386: 32-bit 386: 32-bit
@ -69,11 +69,11 @@ release:
# The brew section specifies how the formula should be created # The brew section specifies how the formula should be created
# Check this link for details: https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md # Check this link for details: https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md
brew: brew:
# Reporitory to push the tap # Reporitory to push the tap to.
repo: user/homebrew-tap repo: user/homebrew-tap
# Folder inside the repository to put the formula. # Folder inside the repository to put the formula.
# Default is the root folder # Default is the root folder.
folder: Formula folder: Formula
# Caveats for the user of your binary. # Caveats for the user of your binary.