-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
38 lines (31 loc) · 841 Bytes
/
.goreleaser.yaml
File metadata and controls
38 lines (31 loc) · 841 Bytes
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
version: 2
project_name: Rofl App Backend
before:
hooks:
- go mod tidy -compat=1.25
builds:
- binary: rofl-app-backend
env:
- CGO_ENABLED=0 # build statically-linked binaries
flags:
- -trimpath
ldflags:
- -buildid=
- "{{.Env.GOLDFLAGS_VERSION}}"
goos:
- linux
goarch:
- amd64
archives:
- name_template: "{{replace .ProjectName \" \" \"_\" | tolower}}_{{.Version}}_{{.Os}}_{{.Arch}}"
wrap_in_directory: "true"
checksum:
name_template: SHA256SUMS-{{.Version}}.txt
algorithm: sha256
snapshot:
version_template: "{{ incpatch .Version }}-next"
release:
name_template: "{{.ProjectName}} {{.Version}}"
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1.
prerelease: auto