add version check for current version
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
This commit is contained in:
parent
6545064fcf
commit
fa36a5bc87
@ -9,9 +9,15 @@ genrule(
|
||||
|
||||
genrule(
|
||||
name = "test_manifests",
|
||||
srcs = [":git_tags.txt"],
|
||||
srcs = [
|
||||
":git_tags.txt",
|
||||
"//deploy/manifests:cert-manager.yaml",
|
||||
"//:version",
|
||||
],
|
||||
outs = ["test_manifests.tar"],
|
||||
cmd = """
|
||||
CURRENT_VERSION=$$(cat $(location //:version))
|
||||
cp $(location //deploy/manifests:cert-manager.yaml) "$$CURRENT_VERSION.yaml"
|
||||
for tag in $$(cat $(location :git_tags.txt))
|
||||
do
|
||||
# The "v1.2.0-alpha.1" manifest contains duplicate crds, skip for tests
|
||||
|
||||
Loading…
Reference in New Issue
Block a user