forked from semaphoreui/semaphore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
72 lines (60 loc) · 1.63 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Goreleaser configuration
# for building binaries and packages for distributions and releasing on github
dist: bin
git:
short_hash: true
builds:
- binary: semaphore
main: ./cli/main.go
goos:
- windows
- darwin
- linux
- freebsd
- openbsd
- netbsd
goarch:
- amd64
- 386
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
hooks:
pre: task compile
archive:
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
sign:
artifacts: checksum
# gpg --sign -u "9B25 8A9C 32B9 7E50 E753 3575 DE95 8D8F 20C7 845F" --pinentry-mode loopback --yes --batch --passphrase "${GPG_PASS}" --output ${signature} --detach-sign "${artifact}"
args: ["-u", "9B25 8A9C 32B9 7E50 E753 3575 DE95 8D8F 20C7 845F", "--pinentry-mode", "loopback", "--yes", "--batch", "--output", "${signature}", "--detach-sign", "${artifact}"]
# Start the snapshot name with a numerical value
# so it does not need to be force installed
snapshot:
name_template: "{{ .Timestamp }}-{{ .Commit }}-SNAPSHOT"
nfpm:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Castaway Consulting LLC
homepage: https://github.com/ansible-semaphore/semaphore
maintainer: Castaway Consulting LLC <[email protected]>
description: Open Source alternative to Ansible Tower
license: MIT
formats:
- deb
- rpm
# Packages your package depends on.
dependencies:
- git
suggests:
- ansible
# install binary in /usr/bin
bindir: /usr/bin
release:
# Do not auto publish release
draft: true
name_template: "{{.Tag}}"