Bump up goreleaser to v1.26.2

Also make update to the configuration file according to:
https://goreleaser.com/deprecations/#archivesrlcp

Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
pull/7835/head
Daniel Jiang 2024-05-28 11:25:17 +08:00
parent d9c9f77860
commit 284e23bef3
2 changed files with 1 additions and 4 deletions

View File

@ -46,9 +46,6 @@ archives:
files: files:
- LICENSE - LICENSE
- examples/**/* - examples/**/*
# Add the setting to resolve the DEPRECATED warning. Actually, Velero's case is not affected by the rlcp behavior change.
# https://github.com/orgs/goreleaser/discussions/3659#discussioncomment-4587257
rlcp: true
checksum: checksum:
name_template: 'CHECKSUM' name_template: 'CHECKSUM'
release: release:

View File

@ -87,7 +87,7 @@ RUN ARCH=$(go env GOARCH) && \
elif [ "$ARCH" = "ppc64le" ] ; then \ elif [ "$ARCH" = "ppc64le" ] ; then \
ARCH="ppc64"; \ ARCH="ppc64"; \
fi && \ fi && \
wget --quiet "https://github.com/goreleaser/goreleaser/releases/download/v1.15.2/goreleaser_Linux_$ARCH.tar.gz" && \ wget --quiet "https://github.com/goreleaser/goreleaser/releases/download/v1.26.2/goreleaser_Linux_$ARCH.tar.gz" && \
tar xvf goreleaser_Linux_$ARCH.tar.gz; \ tar xvf goreleaser_Linux_$ARCH.tar.gz; \
mv goreleaser /usr/bin/goreleaser && \ mv goreleaser /usr/bin/goreleaser && \
chmod +x /usr/bin/goreleaser chmod +x /usr/bin/goreleaser