-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yml
78 lines (69 loc) · 1.74 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
74
75
76
77
78
# One release file to rule them all
project_name: outrigger-cli
# Platforms/architectures to target
builds:
- binary: rig
main: ./cmd/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
# Generating the archives
archive:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macOS
# Publishing releases to GitHub
release:
github:
owner: phase2
name: rig
# draft: true # This also prevents a homebrew release from getting generated
# Publishing Homebrew Formula to the Tap repo
brew:
github:
owner: phase2
name: homebrew-outrigger
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: Outrigger
email: [email protected]
folder: Formula
homepage: "https://outrigger.sh/"
description: "Containerized development environment for projects. See https://docs.outrigger.sh for documentation."
dependencies:
- docker
- docker-machine
- docker-compose
- docker-machine-nfs
- unison
- eugenmayer/dockersync/unox
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/rig", "--version"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "rig"
# Build linux packages
nfpm:
vendor: Phase2
homepage: https://outrigger.sh/
maintainer: Outrigger <[email protected]>
description: Containerized development environment for projects. See https://docs.outrigger.sh for documentation.
license: MIT
formats:
- deb
- rpm
dependencies:
- docker-ce