Update goreleaser config

This commit is contained in:
Jan Eitzinger 2023-06-27 15:35:57 +02:00
parent cf1b7e2db4
commit ab1a9fa781

View File

@ -1,4 +1,3 @@
# This is an example .goreleaser.yml file with some sensible defaults.
before: before:
hooks: hooks:
- go mod tidy - go mod tidy
@ -12,7 +11,12 @@ builds:
goamd64: goamd64:
- v3 - v3
id: "cc-backend" id: "cc-backend"
binary: cc-backend
main: ./cmd/cc-backend main: ./cmd/cc-backend
ldflags:
- -s -w -X main.version={{.Version}}
- -X main.commit={{.Commit}} -X main.date={{.Date}}
- -linkmode external -extldflags -static
tags: tags:
- static_build - static_build
hooks: hooks:
@ -26,6 +30,7 @@ builds:
goamd64: goamd64:
- v3 - v3
id: "archive-manager" id: "archive-manager"
binary: archive-manager
main: ./tools/archive-manager main: ./tools/archive-manager
tags: tags:
- static_build - static_build
@ -38,6 +43,7 @@ builds:
goamd64: goamd64:
- v3 - v3
id: "archive-migration" id: "archive-migration"
binary: archive-migration
main: ./tools/archive-migration main: ./tools/archive-migration
tags: tags:
- static_build - static_build
@ -50,6 +56,7 @@ builds:
goamd64: goamd64:
- v3 - v3
id: "gen-keypair" id: "gen-keypair"
binary: gen-keypair
main: ./tools/gen-keypair main: ./tools/gen-keypair
tags: tags:
- static_build - static_build
@ -97,6 +104,6 @@ changelog:
release: release:
draft: true draft: true
footer: | footer: |
Supports job archive version 1 and database version 4. Supports job archive version 1 and database version 5.
# vim: set ts=2 sw=2 tw=0 fo=cnqoj # vim: set ts=2 sw=2 tw=0 fo=cnqoj