-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
79 lines (71 loc) · 1.48 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
project_name: epoch
before:
hooks:
- go mod download
builds:
- main: ./cmd/epoch/main.go
id: "epoch"
binary: "epoch"
env:
- CGO_ENABLED=0
goos:
- darwin # doesn't require TZ data
- linux # needs `tzdata` package (often already installed)
- main: ./cmd/epoch/main.go
id: "epoch-full" # Emedding tzdata
binary: "epoch"
flags:
- -tags=timetzdata
env:
- CGO_ENABLED=0
goos:
- windows # requires TZ data
archives:
- id: epoch
builds:
- epoch
format: binary
- id: epoch-full
builds:
- epoch-full
format: binary
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next-{{.Commit}}"
# nfpms:
# - maintainer: Simon Jürgensmeyyer <simon.juergensmeyer@gmail.com>
# homepage: https://github.com/sj14/epoch/
# description: Easily convert epoch timestamps to human readable formats and vice versa.
# license: MIT
# formats:
# - deb
# - rpm
# - apk # untested
# builds:
# - epoch
# dependencies:
# - tzdata
brews:
- name: epoch
ids:
- epoch
skip_upload: auto
install: |
bin.install "epoch"
repository:
owner: sj14
name: homebrew-tap
description: Easily convert epoch timestamps to human readable formats and vice versa.
release:
github:
owner: sj14
name: epoch
disable: false
draft: false
prerelease: auto
changelog:
filters:
exclude:
- typo