-
Notifications
You must be signed in to change notification settings - Fork 43
/
.goreleaser.yml
41 lines (41 loc) · 1.14 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
---
builds:
- main: ./cmd/jenkins-credentials-decryptor/main.go
ldflags:
- '-s -w -X github.com/hoto/jenkins-credentials-decryptor/pkg/config.Version={{.Version}} -X github.com/hoto/jenkins-credentials-decryptor/pkg/config.ShortCommit={{.ShortCommit}} -X github.com/hoto/jenkins-credentials-decryptor/pkg/config.BuildDate={{.Date}}'
env:
- CGO_ENABLED=0
ignore:
- goos: darwin
goarch: 386
archives:
- format: binary
replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
- id: homebrew
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
release:
prerelease: auto
changelog:
sort: asc
brews:
- github:
owner: hoto
name: homebrew-repo
folder: Formula
homepage: https://github.com/hoto/jenkins-credentials-decryptor
description: Navigitae locally cloned repos.
test: |
system "#{bin}/jenkins-credentials-decryptor --version"