-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
56 lines (51 loc) · 1.44 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
env_files:
# use only one or release will fail!
github_token: ~/.goreleaser/gh_token
builds:
- env:
- CGO_ENABLED=0
main: ./main.go
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
#
# Default: [ '386', 'amd64', 'arm64' ]
goarch:
- amd64
- arm64
goos:
- linux
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
nfpms:
# see https://goreleaser.com/customization/nfpm/
-
id: default
homepage: https://github.com/AndresBott/videoconv
maintainer: AndresBott <contact@andresbott.com>
description: Batch video conversion based on directory observation.
license: GNU LESSER GENERAL PUBLIC LICENSE v3.0
formats:
- deb
- rpm
dependencies:
- ffmpeg
# Override default /usr/local/bin destination for binaries
bindir: /usr/bin
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'