forked from mikelorant/committed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
44 lines (41 loc) · 1.07 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
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s
- -w
- -X github.com/mikelorant/committed/cmd.version={{.Version}}
tags:
- release
release:
github:
owner: mikelorant
name: committed
brews:
- tap:
owner: mikelorant
name: homebrew-committed
homepage: https://github.com/mikelorant/committed
description: >-
WYSIWYG Git commit editor that helps improve the quality of your
commits by showing you the layout in the same format as git log
license: MIT
dependencies:
- name: git
test: |
system "#{bin}/committed --help"
dockers:
- image_templates:
- mikelorant/committed:{{.Version}}
- mikelorant/committed:latest
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"