From 75dabf0bd2fc24a6803036a5d6c1c6a256b5f99c Mon Sep 17 00:00:00 2001 From: Andy Cowley Date: Tue, 2 Jan 2024 16:50:08 +0000 Subject: [PATCH] Update go mod --- .goreleaser.yml | 57 +++++++++++++++++++++++++------------------------ go.sum | 1 - 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e7f76e33..ddb2c8c6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,33 +1,34 @@ +--- # https://github.com/hashicorp/terraform-provider-scaffolding/blob/main/.goreleaser.yml # Visit https://goreleaser.com for documentation on how to customize this # behavior. before: hooks: - # this is just an example and not a requirement for provider building/publishing - - go mod tidy + # this is just an example and not a requirement for provider building/publishing + - go mod tidy builds: - env: - # goreleaser does not work with CGO, it could also complicate - # usage by users in CI/CD systems like Terraform Cloud where - # they are unable to install libraries. - - CGO_ENABLED=0 + # goreleaser does not work with CGO, it could also complicate + # usage by users in CI/CD systems like Terraform Cloud where + # they are unable to install libraries. + - CGO_ENABLED=0 mod_timestamp: '{{ .CommitTimestamp }}' flags: - - -trimpath + - -trimpath ldflags: - - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' + - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' goos: - - freebsd - - linux - - darwin + - freebsd + - linux + - darwin goarch: - - amd64 - - '386' - - arm - - arm64 + - amd64 + - '386' + - arm + - arm64 ignore: - - goos: darwin - goarch: '386' + - goos: darwin + goarch: '386' binary: '{{ .ProjectName }}_v{{ .Version }}' archives: - format: zip @@ -36,16 +37,16 @@ checksum: name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' algorithm: sha256 signs: - - artifacts: checksum - args: - # if you are using this in a GitHub action or some other automated pipeline, you - # need to pass the batch flag to indicate its not interactive. - - "--batch" - - "--local-user" - - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key - - "--output" - - "${signature}" - - "--detach-sign" - - "${artifact}" +- artifacts: checksum + args: + # if you are using this in a GitHub action or some other automated pipeline, you + # need to pass the batch flag to indicate its not interactive. + - "--batch" + - "--local-user" + - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key + - "--output" + - "${signature}" + - "--detach-sign" + - "${artifact}" changelog: skip: true diff --git a/go.sum b/go.sum index c9005118..3714cfe3 100644 --- a/go.sum +++ b/go.sum @@ -64,7 +64,6 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dimchansky/utfbom v1.0.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= github.com/dnaeon/go-vcr v0.0.0-20180920040454-5637cf3d8a31/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dylanmei/iso8601 v0.1.0/go.mod h1:w9KhXSgIyROl1DefbMYIE7UVSIvELTbMrCfx+QkYnoQ= github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1/go.mod h1:lcy9/2gH1jn/VCLouHA6tOEwLoNVd4GW6zhuKLmHC2Y=