-
Notifications
You must be signed in to change notification settings - Fork 12
/
.goreleaser.yml
36 lines (36 loc) · 918 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
version: 2
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/ecsk
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
ldflags:
- -s -w -X github.com/yukiarrr/ecsk/pkg/cmd.Version=v{{.Version}}
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
brews:
- repository:
owner: yukiarrr
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
directory: Formula
homepage: "https://github.com/yukiarrr/ecsk"
description: "ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)"
test: |
system "#{bin}/ecsk -v"