From e8c56d30ffa99d4568d9835e70f242d1fb7d9fbb Mon Sep 17 00:00:00 2001 From: Fabio Rapposelli Date: Mon, 22 Jul 2024 19:09:24 +0200 Subject: [PATCH] (chore) update goreleaser config to version 2 --- .goreleaser.yml => .goreleaser.yaml | 33 ++++++++++++++++++----------- 1 file changed, 21 insertions(+), 12 deletions(-) rename .goreleaser.yml => .goreleaser.yaml (71%) diff --git a/.goreleaser.yml b/.goreleaser.yaml similarity index 71% rename from .goreleaser.yml rename to .goreleaser.yaml index 4319558..485470d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yaml @@ -1,14 +1,23 @@ ---- -project_name: wwhrd +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj + +version: 2 + +before: + hooks: + - go mod tidy + builds: -- goos: - - linux - - darwin - - windows - goarch: - - amd64 - env: - - CGO_ENABLED=0 + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm64 + archives: - id: github name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' @@ -27,8 +36,8 @@ dockers: goarch: amd64 dockerfile: Dockerfile brews: - - folder: Formula - tap: + - directory: Formula + repository: owner: frapposelli name: homebrew-tap commit_author: