From d3a7f0ccf49051257e1b437e5feff04fc7d67a4a Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Sat, 22 Jul 2023 13:54:09 -0700 Subject: [PATCH] `metacontroller` requires `goreleaser<1.19` This is because of this feature deprecation at the latest version tag: https://goreleaser.com/deprecations/#archivesreplacements Signed-off-by: Matt Moore --- goreleaser-1.18.yaml | 27 +++++++++++++++++++++++++++ metacontroller.yaml | 4 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 goreleaser-1.18.yaml diff --git a/goreleaser-1.18.yaml b/goreleaser-1.18.yaml new file mode 100644 index 00000000000..ef7638b1d26 --- /dev/null +++ b/goreleaser-1.18.yaml @@ -0,0 +1,27 @@ +package: + name: goreleaser-1.18 + version: 1.18.2 + epoch: 0 + description: Deliver Go binaries as fast and easily as possible + copyright: + - license: Apache-2.0 + dependencies: + provides: + - goreleaser=1.18.999 # This should be goreleaser=${{package.version}}-${{package.epoch}} + +environment: + contents: + packages: + - git + +pipeline: + - uses: go/install + with: + package: github.com/goreleaser/goreleaser@v${{package.version}} + +update: + enabled: true + github: + identifier: goreleaser/goreleaser + strip-prefix: v + tag-filter: v1.18 diff --git a/metacontroller.yaml b/metacontroller.yaml index f56ca843cfd..d89bd288884 100644 --- a/metacontroller.yaml +++ b/metacontroller.yaml @@ -1,7 +1,7 @@ package: name: metacontroller version: 4.10.4 - epoch: 0 + epoch: 1 description: Writing kubernetes controllers can be simple target-architecture: - all @@ -19,7 +19,7 @@ environment: - build-base - git - go - - goreleaser + - goreleaser-1.18 # This relies on a deprecated field removed in 1.19 - make pipeline: