From 343b94137a69313c43c760924a02b21c6a11044e Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Thu, 20 Jun 2024 17:12:00 +0100 Subject: [PATCH] Cherry pick: Remove code generation from release script (#2363) (#2364) Signed-off-by: Andrey Velichkevich --- Makefile | 4 +--- scripts/v1beta1/release.sh | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 296aa057064..0f821370dfc 100755 --- a/Makefile +++ b/Makefile @@ -115,14 +115,12 @@ push-latest: generate bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(COMMIT) # Build and push Katib images for the given tag. -push-tag: generate +push-tag: ifeq ($(TAG),) $(error TAG must be set. Usage: make push-tag TAG=) endif bash scripts/v1beta1/build.sh $(KATIB_REGISTRY) $(TAG) $(CPU_ARCH) - bash scripts/v1beta1/build.sh $(KATIB_REGISTRY) $(COMMIT) $(CPU_ARCH) bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(TAG) - bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(COMMIT) # Release a new version of Katib. release: diff --git a/scripts/v1beta1/release.sh b/scripts/v1beta1/release.sh index 7244b81cc03..05a8d76eb41 100755 --- a/scripts/v1beta1/release.sh +++ b/scripts/v1beta1/release.sh @@ -79,8 +79,6 @@ if [[ ${sdk_version} == *"-rc."* ]]; then sdk_version=${sdk_version//-rc./rc} fi echo -e "\nPublishing Katib Python SDK, version: ${sdk_version}\n" -# Run generate script. -make generate # Change version in setup.py cd sdk/python/v1beta1