forked from semaphoreui/semaphore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
97 lines (85 loc) · 2.08 KB
/
.goreleaser.yml
File metadata and controls
97 lines (85 loc) · 2.08 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: 2
dist: bin
before:
hooks:
- task build:fe
builds:
- binary: semaphore
env:
- CGO_ENABLED=0
main: ./cli/main.go
ldflags: -s -w -X github.com/semaphoreui/semaphore/util.Ver={{ .Version }} -X github.com/semaphoreui/semaphore/util.Commit={{ .ShortCommit }} -X github.com/semaphoreui/semaphore/util.Date={{ .Timestamp }}
tags:
- netgo
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
- ppc64le
ignore:
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: 386
- goos: freebsd
goarch: ppc64le
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
- goos: windows
goarch: arm
archives:
- files:
- LICENSE
name_template: "{{ .Env.PROJECT_NAME }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
signs:
-
artifacts: checksum
signature: "{{ .Env.PROJECT_NAME }}_{{ .Version }}_checksums.txt.sig"
cmd: gpg
args: [
"-u", "{{ .Env.GPG_KEY_ID }}",
"--pinentry-mode", "loopback",
"--yes",
"--batch",
"--output", "${signature}",
"--detach-sign", "${artifact}"
]
checksum:
name_template: "{{ .Env.PROJECT_NAME }}_{{ .Version }}_checksums.txt"
snapshot:
name_template: "{{ .Timestamp }}-{{ .ShortCommit }}-SNAPSHOT"
nfpms:
- file_name_template: "{{ .Env.PROJECT_NAME }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
package_name: "semaphore"
description: Modern UI and powerful API for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
homepage: https://github.com/semaphoreui/semaphore
vendor: Semaphore UI
maintainer: Denis Gukov <denis@semaphoreui.com>
license: MIT
formats:
- deb
- rpm
dependencies:
- git
suggests:
- ansible
bindir: /usr/bin
release:
draft: true
use_existing_draft: true
name_template: "{{.Tag}}"