-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.goreleaser.yml
More file actions
53 lines (53 loc) · 1.27 KB
/
.goreleaser.yml
File metadata and controls
53 lines (53 loc) · 1.27 KB
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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2
before:
hooks:
- go generate ./...
- packr2
builds:
- main: ./pkg/cli/main.go
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
archives:
- name_template: 'glow_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}'
format_overrides:
- goos: windows
formats: ["zip"]
brews:
- repository:
owner: meinto
name: glow
commit_author:
name: Tobias Meinhardt
email: tobias.meinhardt@mailbox.org
homepage: "https://github.com/meinto/glow"
description: "A cli tool to adapt git-flow"
directory: formula
dependencies:
- git
# snapcraft:
# name_template: "glow_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# replacements:
# 386: i386
# amd64: x86_64
# summary: git flow cli tool.
# description: |
# glow is a cli tool to adapt git-flow.
# https://github.com/meinto/glow
# grade: stable
# confinement: strict
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ .Tag }}-next"
changelog:
sort: desc
filters:
exclude:
- "^docs:"
- "^test:"