-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
109 lines (92 loc) · 2.98 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- ldflags:
- -s -w -X "main.version={{.Env.RELEASE_VERSION}}"
- main: ./main.go
binary: awsfind
goos:
- darwin
- linux
goarch:
- amd64
checksum:
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archive:
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
format_overrides:
- goos: windows
format: zip
brew:
# Name of the recipe
# Default to project name
name: aws-find
# Reporitory to push the tap to.
github:
owner: warrensbox
name: homebrew-tap
# Allows you to set a custom download strategy.
# Default is empty.
#download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: Warren Veerasingam
email: warren.veerasingam@gmail.com
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
# Caveats for the user of your binary.
# Default is empty.
caveats: "Type 'aws-find' on your command line and choose the terragrunt version that you want from the dropdown. This command currently only works on MacOs and Linux"
# Your app's homepage.
# Default is empty.
homepage: "https://warrensbox.github.io/aws-find"
# Your app's description.
# Default is empty.
description: "The aws-find command lets you switch between terragrunt versions."
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# Default is false.
skip_upload: false
# Packages that conflict with your package.
# conflicts:
# - terragrunt
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/aws-find --version"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "aws-find"
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL.
github:
owner: warrensbox
name: aws-find
# If set to true, will not auto-publish the release.
# Default is false.
draft: false
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: false
# You can change the name of the GitHub release.
# Default is `{{.Tag}}`
#name_template: "{{.ProjectName}}"
# You can disable this pipe in order to not upload any artifacts to
# GitHub.
# Defaults to false.
disable: false