diff options
author | Wim <wim@42.be> | 2019-02-24 01:09:53 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2019-02-24 01:09:53 +0100 |
commit | f92735d35d01388ca790c43ef54548ecafae6f92 (patch) | |
tree | 4e9000a2597414995baa79e11e939278be937762 /.goreleaser.yml | |
parent | 516fd3c92db6f7c1ccd5e732e69d0acf97067145 (diff) | |
download | matterbridge-msglm-f92735d35d01388ca790c43ef54548ecafae6f92.tar.gz matterbridge-msglm-f92735d35d01388ca790c43ef54548ecafae6f92.tar.bz2 matterbridge-msglm-f92735d35d01388ca790c43ef54548ecafae6f92.zip |
Add goreleaser.yml
Diffstat (limited to '.goreleaser.yml')
-rw-r--r-- | .goreleaser.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..d57e39f3 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,34 @@ +release: + prerelease: auto + name_template: "{{.ProjectName}} v{{.Version}}" + +builds: +- env: + - CGO_ENABLED=0 + goos: + - freebsd + - windows + - darwin + - linux + - dragonfly + - netbsd + - openbsd + goarch: + - amd64 + - arm + - arm64 + - 386 + ldflags: + - -s -w -X main.githash={{.ShortCommit}} + +archive: + name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" + format: binary + files: + - none* + replacements: + 386: 32bit + amd64: 64bit + +checksum: + name_template: 'checksums.txt' |