-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.goreleaser.yml
33 lines (31 loc) · 899 Bytes
/
.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
project_name: netbootd
before:
hooks:
- go mod download
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