mirror of
https://github.com/ossf/scorecard.git
synced 2024-10-05 13:17:08 +03:00
🌱 Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 (#4158)
* 🌱 Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1
)
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* use --clean instead of --rm-dist
https: //goreleaser.com/deprecations#-rm-dist
Signed-off-by: Spencer Schrock <sschrock@google.com>
* the skip arguments were combined into --skip
https://goreleaser.com/deprecations/#-skip
Signed-off-by: Spencer Schrock <sschrock@google.com>
* update config for v2
Signed-off-by: Spencer Schrock <sschrock@google.com>
* use goreleaser v2 tooling for makefile
Signed-off-by: Spencer Schrock <sschrock@google.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Spencer Schrock <sschrock@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Spencer Schrock <sschrock@google.com>
Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
This commit is contained in:
parent
0d57c0224a
commit
6cae56f02b
2
.github/workflows/goreleaser.yaml
vendored
2
.github/workflows/goreleaser.yaml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
run: echo "version_flags=$(./scripts/version-ldflags)" >> "$GITHUB_OUTPUT"
|
||||
- name: Run GoReleaser
|
||||
id: run-goreleaser
|
||||
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
|
||||
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
|
||||
with:
|
||||
args: release --clean
|
||||
env:
|
||||
|
@ -1,3 +1,4 @@
|
||||
version: 2
|
||||
project_name: scorecard
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
@ -96,7 +97,7 @@ snapshot:
|
||||
changelog:
|
||||
# Set it to true if you wish to skip the changelog generation.
|
||||
# This may result in an empty release notes on GitHub/GitLab/Gitea.
|
||||
skip: false
|
||||
disable: false
|
||||
release:
|
||||
footer: |
|
||||
### Thanks for all contributors!
|
||||
|
4
Makefile
4
Makefile
@ -45,7 +45,7 @@ $(GINKGO): $(TOOLS_DIR)/go.mod
|
||||
|
||||
GORELEASER := $(TOOLS_BIN_DIR)/goreleaser
|
||||
$(GORELEASER): $(TOOLS_DIR)/go.mod
|
||||
cd $(TOOLS_DIR); GOBIN=$(TOOLS_BIN_DIR) go install github.com/goreleaser/goreleaser
|
||||
cd $(TOOLS_DIR); GOBIN=$(TOOLS_BIN_DIR) go install github.com/goreleaser/goreleaser/v2
|
||||
|
||||
PROTOC_GEN_GO := $(TOOLS_BIN_DIR)/protoc-gen-go
|
||||
$(PROTOC_GEN_GO): $(TOOLS_DIR)/go.mod
|
||||
@ -200,7 +200,7 @@ scorecard.releaser: .goreleaser.yml $(SCORECARD_DEPS) | $(GORELEASER)
|
||||
# Run go releaser on the Scorecard repo
|
||||
$(GORELEASER) check && \
|
||||
VERSION_LDFLAGS="$(LDFLAGS)" $(GORELEASER) release \
|
||||
--snapshot --rm-dist --skip-publish --skip-sign && \
|
||||
--snapshot --clean --skip=publish,sign && \
|
||||
touch scorecard.releaser
|
||||
|
||||
CRON_CONTROLLER_DEPS = $(shell find cron/internal/ -iname "*.go")
|
||||
|
@ -7,7 +7,7 @@ require (
|
||||
github.com/golangci/golangci-lint v1.59.1
|
||||
github.com/google/addlicense v1.1.1
|
||||
github.com/google/ko v0.15.4
|
||||
github.com/goreleaser/goreleaser v1.26.2
|
||||
github.com/goreleaser/goreleaser/v2 v2.0.0
|
||||
github.com/onsi/ginkgo/v2 v2.19.0
|
||||
google.golang.org/protobuf v1.34.2
|
||||
)
|
||||
|
@ -558,8 +558,8 @@ github.com/goreleaser/chglog v0.6.1 h1:NZKiX8l0FTQPRzBgKST7knvNZmZ04f7PEGkN2wInf
|
||||
github.com/goreleaser/chglog v0.6.1/go.mod h1:Bnnfo07jMZkaAb0uRNASMZyOsX6ROW6X1qbXqN3guUo=
|
||||
github.com/goreleaser/fileglob v1.3.0 h1:/X6J7U8lbDpQtBvGcwwPS6OpzkNVlVEsFUVRx9+k+7I=
|
||||
github.com/goreleaser/fileglob v1.3.0/go.mod h1:Jx6BoXv3mbYkEzwm9THo7xbr5egkAraxkGorbJb4RxU=
|
||||
github.com/goreleaser/goreleaser v1.26.2 h1:1iY1HaXtRiMTrwy6KE1sNjkRjsjMi+9l0k6WUX8GpWw=
|
||||
github.com/goreleaser/goreleaser v1.26.2/go.mod h1:mHi6zr6fuuOh5eHdWWgyo/N8BWED5WEVtb/4GETc9jQ=
|
||||
github.com/goreleaser/goreleaser/v2 v2.0.0 h1:TxH7v+rYsQ+e4CQDMmdBFnVzxuTbBJRwsLXeCSkOREU=
|
||||
github.com/goreleaser/goreleaser/v2 v2.0.0/go.mod h1:eit+2+u8uJLgBtuEMITPaQHwO55amhR089eFkbWi3s0=
|
||||
github.com/goreleaser/nfpm/v2 v2.37.1 h1:RUmeEt8OlEVeSzKRrO5Vl5qVWCtUwx4j9uivGuRo5fw=
|
||||
github.com/goreleaser/nfpm/v2 v2.37.1/go.mod h1:q8+sZXFqn106/eGw+9V+I8+izFxZ/sJjrhwmEUxXhUg=
|
||||
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
_ "github.com/google/addlicense"
|
||||
|
||||
_ "github.com/google/ko"
|
||||
_ "github.com/goreleaser/goreleaser"
|
||||
_ "github.com/goreleaser/goreleaser/v2"
|
||||
_ "github.com/onsi/ginkgo/v2/ginkgo"
|
||||
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user