-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
44 lines (37 loc) · 995 Bytes
/
.goreleaser.yaml
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
# Copyright (c) 2023 0x6flab
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# http://www.apache.org/licenses/LICENSE-2.0
project_name: namegenerator
before:
hooks:
- go mod tidy
builds:
- skip: true
archives:
- format: tar.gz
wrap_in_directory: true
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
source:
enabled: true
name_template: "{{ .ProjectName }}-{{ .Version }}-source"