forked from go-go-golems/plunger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
83 lines (71 loc) · 1.9 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
project_name: plunger
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
main: ./cmd/plunger
binary: plunger
goos:
- linux
# I am not able to test windows at the time
# - windows
- darwin
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- name: plunger
description: "Sqleton is a tool for querying databases"
homepage: "https://github.com/go-go-golems/plunger"
tap:
owner: go-go-golems
name: homebrew-go-go-go
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
nfpms:
-
id: packages
vendor: GO GO GOLEMS
homepage: https://github.com/go-go-golems/
maintainer: Manuel Odendahl <[email protected]>
description: |-
Plunger is a zerolog backend for sqlite
license: MIT
# Formats to be generated.
formats:
- deb
- rpm
# Version Release.
release: 1
# Section.
section: default
# Priority.
priority: extra
# Custom configuration applied only to the Deb packager.
deb:
# Lintian overrides
lintian_overrides:
- statically-linked-binary
- changelog-file-missing-in-native-package
publishers:
- name: fury.io
# by specifying `packages` id here goreleaser will only use this publisher
# with artifacts identified by this id
ids:
- packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/go-go-golems/
# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj