Skip to content

Commit c006679

Browse files
perdasilvaci-robot
authored andcommitted
Address goreleaser deprecations (#1472)
Signed-off-by: Per Goncalves da Silva <[email protected]> Upstream-repository: operator-registry Upstream-commit: 91c85c4ae0c5385b4a79180fa32b6865eca45b4c
1 parent 1736224 commit c006679

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

staging/operator-registry/.github/workflows/goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: make release
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
RELEASE_ARGS: release --rm-dist -f release/goreleaser.windows.yaml --skip-validate ${{ github.event_name == 'pull_request' && '--snapshot' || '' }}
64+
RELEASE_ARGS: release --skip=validate --clean -f release/goreleaser.windows.yaml ${{ github.event_name == 'pull_request' && '--snapshot' || '' }}
6565

6666
- run: tar -cvf dist-windows.tar dist
6767
- uses: actions/upload-artifact@v4

staging/operator-registry/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export LATEST_IMAGE_OR_EMPTY := $(shell \
148148
&& [ "$(shell echo -e "$(OPM_VERSION)\n$(LATEST_TAG)" | sort -rV | head -n1)" == "$(OPM_VERSION)" ] \
149149
&& echo "$(OPM_IMAGE_REPO):latest" || echo "")
150150
RELEASE_GOOS := $(shell go env GOOS)
151-
RELEASE_ARGS ?= release --rm-dist --snapshot -f release/goreleaser.$(RELEASE_GOOS).yaml
151+
RELEASE_ARGS ?= release --clean --snapshot -f release/goreleaser.$(RELEASE_GOOS).yaml
152152

153153
# Note: bingo does not yet support windows (https://github.com/bwplotka/bingo/issues/26)
154154
# so GOOS=windows gets its own way to install goreleaser

0 commit comments

Comments
 (0)