Skip to content

Commit

Permalink
fix: goreleaser compatibility issue (#3347)
Browse files Browse the repository at this point in the history
* fix: goreleaser compatibility issue

* fix: bump goreleaser dependency
  • Loading branch information
kolesnikovae authored and simonswine committed Jun 21, 2024
1 parent 0bc9094 commit 04fd419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/weekly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04fd419

Please sign in to comment.