-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
91 lines (90 loc) · 2.73 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
project_name: sveltin
before:
hooks:
# Clean up unused dependencies
- go mod tidy -compat=1.17
# Downloads all modules specified in go.mod
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./main.go
binary: sveltin
brews:
# GitHub/GitLab repository to push the formula to
- tap:
owner: sveltinio
name: homebrew-sveltin
branch: main
token: '{{ .Env.GITHUB_TOKEN }}'
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
url_template: 'http://github.com/sveltinio/sveltin/releases/download/{{ .Tag }}/{{ .ArtifactName }}'
# Git author used to commit to the repository.
commit_author:
name: indaco
email: github@mircoveltri.me
commit_msg_template: 'Brew formula update for {{ .ProjectName }} version {{ .Tag }}'
# Folder inside the repository to put the formula.
folder: Formula
# Caveats for the user of your binary.
caveats: 'To get started run: `sveltin -h` or visit https://docs.sveltin.io'
# App's homepage.
homepage: https://sveltin.io
description: A powerful CLI for your next SvelteKit powered static website.
license: 'Apache-2.0'
dependencies:
- name: git
- name: node
# Custom install script for brew.
install: |
bin.install "sveltin"
scoop:
# Repository to push the app manifest to.
bucket:
owner: sveltinio
name: scoop-sveltin
branch: main
token: '{{ .Env.GITHUB_TOKEN }}'
url_template: 'https://github.com/sveltinio/sveltin/releases/download/{{ .Tag }}/{{ .ArtifactName }}'
commit_author:
name: indaco
email: github@mircoveltri.me
commit_msg_template: 'Scoop update for {{ .ProjectName }} version {{ .Tag }}'
homepage: https://sveltin.io
description: A powerful CLI for your next SvelteKit powered static website.
license: 'Apache-2.0'
skip_upload: false
archives:
- rlcp: true
# Default format for Mac and Linux
format: tar.gz
# When windows, use .zip instead.
format_overrides:
- goos: windows
format: zip
# Just the naming convention for tarballs... Example: msconsole_1.0.0_darwin_64bit
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ .Tag }}-next'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- 'README'
- Merge pull request
- Merge branch