-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgoreleaser.yml
54 lines (51 loc) · 1.45 KB
/
goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# .goreleaser.yml
# Build customization
builds:
- binary: konnect
goos:
- darwin
- linux
goarch:
- amd64
# Archive customization
archive:
format: tar.gz
replacements:
amd64: 64-bit
darwin: macOS
linux: linux
builds:
# You can have multiple builds defined as a common yaml list
-
# Path to main.go file or main package.
# Default is `.`
main: ./main.go
#
# Name of the binary.
# Default is the name of the project directory.
binary: konnect
#
# Custom ldflags template.
# This is parsed with Golang template engine and the following variables
# are available:
# - Date
# - Commit
# - Tag
# - Version (Tag with the `v` prefix stripped)
# The default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`
# Date format is `2006-01-02_15:04:05`
ldflags: -s -w -X github.com/exitshell/konnect/cmd.AppVersion={{.Version}} -X github.com/exitshell/konnect/cmd.AppBuild={{.Commit}} -X github.com/exitshell/konnect/cmd.AppDate={{.Date}}`
brew:
# Reporitory to push the tap to.
github:
owner: exitshell
name: homebrew-konnect
# Your app's homepage
# Default is empty
homepage: "https://github.com/exitshell/konnect"
# Your app's description
# Default is empty
description: "Konnect - connect to thing!"
# Custom install script for brew. Default is 'bin.install "program"'
install: |
bin.install "konnect"