diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a0f14e..54433a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ permissions: {} env: # renovate: datasource=github-releases depName=goreleaser/goreleaser - GORELEASER_VERSION: v1.26.2 + GORELEASER_VERSION: v2.18.3 concurrency: group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 663b54c..89faa40 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 project_name: stackstate-backup-cli release: github: @@ -26,13 +27,15 @@ builds: - GO111MODULE=on archives: - id: stackstate-backup-cli - builds: + ids: - stackstate-backup-cli name_template: '{{ .ProjectName }}-{{ .Version }}.{{ .Os }}-{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}' - format: tar.gz + formats: + - tar.gz format_overrides: - goos: windows - format: zip + formats: + - zip blobs: - provider: s3 bucket: cli-dl.stackstate.com