forked from warrensbox/tgswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
96 lines (86 loc) · 2.7 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
# 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: tgswitch
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: windows
goarch: arm
checksum:
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archives:
-
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
linux: linux
386: 386
amd64: amd64
format_overrides:
- goos: windows
format: zip
# brews:
# -
# # Name of the recipe
# # Default to project name
# name: tgswitch
# # GitHub/GitLab repository to push the formula to
# # Gitea is not supported yet, but the support coming
# tap:
# owner: warrensbox
# name: homebrew-tap
# # 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 'tgswitch' 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/tgswitch"
# # Your app's description.
# # Default is empty.
# description: "The tgswitch 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
# # So you can `brew test` your formula.
# # Default is empty.
# test: |
# system "#{bin}/tgswitch --version"
# # Custom install script for brew.
# # Default is 'bin.install "program"'.
# install: |
# bin.install "tgswitch"