-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy path.goreleaser.yml
More file actions
48 lines (43 loc) · 1.1 KB
/
.goreleaser.yml
File metadata and controls
48 lines (43 loc) · 1.1 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
---
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
project_name: netbootd
before:
hooks:
- go mod tidy
builds:
- binary: netbootd
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w -X github.com/DSpeichert/netbootd/cmd.version={{.Version}} -X github.com/DSpeichert/netbootd/cmd.commit={{.ShortCommit}} -X github.com/DSpeichert/netbootd/cmd.date={{.Date}}
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 7
archives:
- wrap_in_directory: true
format: tar.gz
# Additional files/globs you want to add to the archive.
# Defaults are any files matching `LICENCE*`, `LICENSE*`,
# `README*` and `CHANGELOG*` (case-insensitive).
files:
- examples/*
- CHANGELOG*
- README*
- LICENSE*
- netbootd.service
- netbootd.yml
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
report_sizes: true