-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yml
107 lines (98 loc) · 2.1 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
version: 2
builds:
- main: ./cmd/crab/main.go
ldflags:
- -w -extldflags "-static"
- -X github.com/atomicptr/crab/pkg/meta.Version={{.Version}}
- -X github.com/atomicptr/crab/pkg/meta.GitCommit={{.FullCommit}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
archives:
- id: default
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# Release
## Github Releases
release:
github:
owner: atomicptr
name: crab
draft: false
## AUR
aurs:
- name: crab-bin
homepage: &homepage "https://github.com/atomicptr/crab"
description: &description |
A versatile tool to crawl dozens of URLs from a given source, like a sitemap or an URL list.
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/crab-bin.git"
provides:
- tmplr
commit_author:
name: Christopher Kaster
email: [email protected]
maintainers: &maintainers
- &maintainer "Christopher Kaster <[email protected]>"
license: &license MIT
## Nix:
nix:
- name: crab
repository:
owner: atomicptr
name: nix
branch: master
token: "{{ .Env.GITHUB_TOKEN }}"
homepage: *homepage
description: *description
license: mit
## Homebrew
brews:
- name: crab
repository:
owner: atomicptr
name: homebrew-tools
directory: Formula
homepage: *homepage
description: *description
## Scoop
scoops:
- name: crab
repository:
owner: atomicptr
name: scoop-bucket
homepage: *homepage
description: *description
license: *license
## Docker
dockers:
- dockerfile: Dockerfile
image_templates:
- "atomicptr/crab:latest"
- "atomicptr/crab:v{{.Major}}"
- "atomicptr/crab:v{{.Major}}.{{.Minor}}"
- "atomicptr/crab:{{.Tag}}"
## NFPM (deb and rpm)
nfpms:
- package_name: crab
vendor: atomicptr
maintainer: *maintainer
homepage: *homepage
description: *description
license: MIT
formats:
- deb
- rpm