-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
94 lines (87 loc) · 2.2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
project_name: lorawan-stack-migrate
changelog:
skip: true
release:
prerelease: auto
builds:
- id: ttn-lw-migrate
main: ./cmd/ttn-lw-migrate
binary: ttn-lw-migrate
ldflags:
- -s
- -w
- -X go.thethings.network/lorawan-stack-migrate/pkg/version.BuildDate={{ .Date }}
- -X go.thethings.network/lorawan-stack-migrate/pkg/version.GitCommit={{ .ShortCommit }}
- -X go.thethings.network/lorawan-stack-migrate/pkg/version.Version={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
archives:
- id: ttn-lw-migrate
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
builds:
- ttn-lw-migrate
files:
- LICENSE
- README.md
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
nfpms:
- id: ttn-lw-migrate
builds:
- ttn-lw-migrate
vendor: The Things Network
homepage: https://www.thethingsnetwork.org
maintainer: The Things Network Foundation <[email protected]>
description: Migrate from other LoRaWAN network servers to The Things Stack
license: Apache 2.0
formats:
- deb
- rpm
recommends:
- lorawan-stack
snapcrafts:
- id: ttn-lw-migrate
builds:
- ttn-lw-migrate
name: ttn-lw-migrate
summary: Migrate from other LoRaWAN network servers to The Things Stack
description: Migrate from other LoRaWAN network servers to The Things Stack
grade: stable
confinement: strict
publish: true
apps:
ttn-lw-migrate:
plugs: [ home, network ]
command: ttn-lw-migrate
brews:
- name: ttn-lw-migrate
ids:
- ttn-lw-migrate
tap:
owner: TheThingsNetwork
name: homebrew-lorawan-stack
commit_author:
name: ttn-ci
email: [email protected]
homepage: https://www.thethingsnetwork.org
description: Migrate from other LoRaWAN network servers to The Things Stack
skip_upload: auto
install: |
bin.install "ttn-lw-migrate"