-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.yml
56 lines (50 loc) · 1002 Bytes
/
.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
project_name: semaphore
builds:
- main: ./cmd/semaphore/main.go
env:
- CGO_ENABLED=0
- GO111MODULE=on
flags:
- -mod=vendor
- -v
ldflags:
- -X main.version=v{{ .Version }}
- -X main.build={{ .ShortCommit }}
- -X main.label=release
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
archives:
- name_template: "semaphore-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files: [a-workaround-to-include-only-the-binary*]
wrap_in_directory: false
brews:
- tap:
owner: jexia
name: homebrew-cask
skip_upload: true
folder: Formula
homepage: https://github.com/jexia/semaphore
description: A straightforward service orchestrator
test: |
system "#{bin}/semaphore -v"
checksum:
name_template: "semaphore-{{ .Version }}-checksums.sha256"
release:
github:
owner: jexia
name: semaphore
changelog:
skip: true