use goreleaser config spec v2

This commit is contained in:
Kenneth Bingham 2024-07-24 16:11:17 -04:00
parent ca9a2e7b7c
commit e1496baa18
No known key found for this signature in database
GPG Key ID: 31709281860130B6
6 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,4 @@
version: 2
builds:
- id: zrok-amd64
main: ./cmd/zrok

View File

@ -1,3 +1,4 @@
version: 2
builds:
- id: zrok-armv8
main: ./cmd/zrok

View File

@ -1,8 +1,11 @@
version: 2
builds:
- id: zrok-armv7
main: ./cmd/zrok
binary: zrok
ldflags: "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}"
ldflags:
- '-extldflags "-static"'
- "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}"
env:
- CC=arm-linux-gnueabi-gcc
- CGO_ENABLED=1

View File

@ -1,3 +1,4 @@
version: 2
builds:
- id: zrok-amd64
main: ./cmd/zrok

View File

@ -1,3 +1,4 @@
version: 2
builds:
- skip: true
release:

View File

@ -1,3 +1,4 @@
version: 2
builds:
- main: ./cmd/zrok
binary: zrok