-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
94 lines (82 loc) · 2.26 KB
/
.goreleaser.yaml
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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: remote-shell
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
id: rshell
binary: 'remote-shell'
ldflags:
- "-s -w -X main.buildVersion={{.Version}} -X main.buildSha={{.Commit}}"
# archives:
# - replacements:
# darwin: Darwin
# linux: Linux
# windows: Windows
# 386: i386
# amd64: x86_64
archives:
- files:
- none*
format: zip
id: homebrew
# name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_{{ .Version }}"
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: linux
format: tar.gz
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}"
release:
draft: true
changelog:
skip: true
announce:
skip: true
brews:
- ids:
- homebrew
name: remote-shell
tap:
owner: webdestroya
name: homebrew-tap
branch: bump-brew
folder: Formula
url_template: "https://github.com/webdestroya/remote-shell-client/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://github.com/webdestroya/remote-shell-client"
description: "Allows easy remote access to containerized applications running on Fargate"
skip_upload: auto
license: "MIT"
install: |-
bin.install "remote-shell"
universal_binaries:
- id: rshell
# name_template: "{{ .ProjectName }}_{{ .Version }}"
name_template: "{{ .ProjectName }}"
replace: false
nfpms:
- id: "rshell"
builds: ['rshell']
formats:
- deb
- rpm
- apk
vendor: "cloud87.io"
homepage: "https://github.com/webdestroya/remote-shell-client/"
maintainer: "Mitch Dempsey <webdestroya@noreply.github.com>"
description: "Allows easy remote access to containerized applications running on Fargate"
# file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_{{ .Version }}"
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
rpm:
summary: "Allows easy remote access to containerized applications running on Fargate"