diff --git a/.github/workflows/weekly-release.yml b/.github/workflows/weekly-release.yml index 16c3e4c9c9..ed9ad108ed 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -54,7 +54,7 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro': distribution: goreleaser version: latest - args: release --clean --skip-publish --timeout 60m + args: release --clean --skip=publish --timeout 60m env: GITHUB_TOKEN: ${{ steps.app-releaser.outputs.token }} # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d0d52babc8..b114a3d8cc 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,5 @@ project_name: pyroscope +version: 2 before: hooks: # This hook ensures that goreleaser uses the correct go version for a Pyroscope release diff --git a/Makefile b/Makefile index 90a677a7b5..4d12d055ba 100644 --- a/Makefile +++ b/Makefile @@ -320,7 +320,7 @@ $(BIN)/updater: Makefile $(BIN)/goreleaser: Makefile go.mod @mkdir -p $(@D) - GOBIN=$(abspath $(@D)) $(GO) install github.com/goreleaser/goreleaser@v1.20.0 + GOBIN=$(abspath $(@D)) $(GO) install github.com/goreleaser/goreleaser/v2@v2.0.0 $(BIN)/gotestsum: Makefile go.mod @mkdir -p $(@D)