-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
109 lines (94 loc) · 2.88 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 7
main: cmd/main.go
binary: aiws
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# .goreleaser.yaml
brews:
-
# Name template of the recipe
# Default to project name
name: aiws
# GitHub/GitLab repository to push the formula to
tap:
# Repository owner template. (templateable)
owner: huseyinbabal
# Repository name. (templateable)
name: homebrew-tap
# Optionally a branch can be provided. (templateable)
#
# Defaults to the default repository branch.
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# Allows you to set a custom download strategy. Note that you'll need
# to implement the strategy and add it to your tap repository.
# Example: https://docs.brew.sh/Formula-Cookbook#specifying-the-download-strategy-explicitly
# Default is empty.
download_strategy: CurlDownloadStrategy
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
# Your app's homepage.
# Default is empty.
homepage: "https://github.com/huseyinbabal/aiws"
# Template of your app's description.
# Default is empty.
description: "AI-driven AWS CLI for Developer's. Never memorize AWS CLI commands again."
# SPDX identifier of your app's license.
# Default is empty.
license: "MIT"
# .goreleaser.yaml
announce:
discord:
# Whether its enabled or not.
# Defaults to false.
enabled: false
# Message template to use while publishing.
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
message_template: 'Aiws {{.Tag}} is out!'
# Set author of the embed.
# Defaults to `GoReleaser`
author: ''
# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
# Defaults to `3888754` - the grey-ish from goreleaser
color: ''
# URL to an image to use as the icon for the embed.
# Defaults to `https://goreleaser.com/static/avatar.png`
icon_url: ''