forked from semaphoreui/semaphore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
73 lines (62 loc) · 1.54 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
73
dist: bin
before:
hooks:
- task build:fe
builds:
- binary: semaphore
env:
- CGO_ENABLED=0
main: ./cli/main.go
ldflags: -s -w -X github.com/ansible-semaphore/semaphore/util.Ver={{ .Version }} -X github.com/ansible-semaphore/semaphore/util.Commit={{ .ShortCommit }} -X github.com/ansible-semaphore/semaphore/util.Date={{ .Timestamp }}
tags:
- netgo
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
archives:
- files:
- LICENSE
format_overrides:
- goos: windows
format: zip
signs:
-
artifacts: checksum
args: ["-u", "58A7 CC3D 8A9C A2E5 BB5C 141D 4064 23EA F814 63CA", "--pinentry-mode", "loopback", "--yes", "--batch", "--output", "${signature}", "--detach-sign", "${artifact}"]
snapshot:
name_template: "{{ .Timestamp }}-{{ .ShortCommit }}-SNAPSHOT"
nfpms:
- file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
description: Open Source alternative to Ansible Tower
homepage: https://github.com/semaphoreui/semaphore
vendor: Semaphore UI
maintainer: Semaphore UI <support@semui.co>
license: MIT
formats:
- deb
- rpm
dependencies:
- git
suggests:
- ansible
bindir: /usr/bin
release:
draft: true
name_template: "{{.Tag}}"