-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
62 lines (62 loc) · 1.45 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
project_name: "lfr-cli"
before:
hooks:
- go mod tidy
release:
mode: keep-existing
builds:
- id: "lfr-cli"
binary: lfr
main: ./cmd/lfr
ldflags:
- -w -s
- -X github.com/lgdd/lfr-cli/internal/cmd/version.Number={{.Version}}
- -X github.com/lgdd/lfr-cli/internal/cmd/version.Commit={{.Commit}}
- -X github.com/lgdd/lfr-cli/internal/cmd/version.Date={{.Date}}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- 386
- arm64
ignore:
- goos: windows
goarch: arm64
archives:
- format_overrides:
- goos: windows
format: zip
nfpms:
- description: LFR is an unofficial tool written in Go that helps you create & manage your Liferay projects.
homepage: https://github.com/lgdd/lfr-cli
license: MIT
maintainer: Louis-Guillaume Durand <louis-guillaume.durand@liferay.com>
formats:
- deb
- rpm
- apk
brews:
- repository:
owner: lgdd
name: homebrew-tap
token: "{{ .Env.LFR_CLI_GH_TOKEN }}"
directory: Formula
homepage: https://github.com/lgdd/lfr-cli
description: LFR is an unofficial tool written in Go that helps you create & manage your Liferay projects.
install: |
bin.install "lfr"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"