Skip to content

Commit 04fd419

Browse files
kolesnikovaesimonswine
authored andcommitted
fix: goreleaser compatibility issue (#3347)
* fix: goreleaser compatibility issue * fix: bump goreleaser dependency
1 parent 0bc9094 commit 04fd419

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/weekly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# either 'goreleaser' (default) or 'goreleaser-pro':
5555
distribution: goreleaser
5656
version: latest
57-
args: release --clean --skip-publish --timeout 60m
57+
args: release --clean --skip=publish --timeout 60m
5858
env:
5959
GITHUB_TOKEN: ${{ steps.app-releaser.outputs.token }}
6060
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
project_name: pyroscope
2+
version: 2
23
before:
34
hooks:
45
# This hook ensures that goreleaser uses the correct go version for a Pyroscope release

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ $(BIN)/updater: Makefile
320320

321321
$(BIN)/goreleaser: Makefile go.mod
322322
@mkdir -p $(@D)
323-
GOBIN=$(abspath $(@D)) $(GO) install github.com/goreleaser/goreleaser@v1.20.0
323+
GOBIN=$(abspath $(@D)) $(GO) install github.com/goreleaser/goreleaser/[email protected].0
324324

325325
$(BIN)/gotestsum: Makefile go.mod
326326
@mkdir -p $(@D)

0 commit comments

Comments
 (0)