From 8fbea623bc7ebf03ba0b07b6bb85f5b2f7266798 Mon Sep 17 00:00:00 2001 From: Johannes Riecken Date: Thu, 18 Jul 2024 15:37:01 +0200 Subject: [PATCH] ci: adopt a standard GoReleaser configuration (#375) * Stop generating SBOMs for releases It clutters the release page with artifacts that don't see much use. * Generate .tar.gz releases and .zip for Windows --- .gitignore | 2 ++ .goreleaser.yaml | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index be3a79e6..47b64e67 100644 --- a/.gitignore +++ b/.gitignore @@ -174,3 +174,5 @@ fabric.properties # Editor-based Rest Client .idea/httpRequests + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2ce00793..6b636e41 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -32,11 +32,6 @@ builds: source: enabled: true -sboms: - - artifacts: binary - - id: source - artifacts: source - checksum: name_template: 'checksums.txt' @@ -54,5 +49,8 @@ signs: output: true archives: - - format: binary + - format: tar.gz name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}' + format_overrides: + - goos: windows + format: zip