Skip to content

Commit 343b941

Browse files
authored
Cherry pick: Remove code generation from release script (#2363) (#2364)
Signed-off-by: Andrey Velichkevich <[email protected]>
1 parent 1c45521 commit 343b941

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,12 @@ push-latest: generate
115115
bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(COMMIT)
116116

117117
# Build and push Katib images for the given tag.
118-
push-tag: generate
118+
push-tag:
119119
ifeq ($(TAG),)
120120
$(error TAG must be set. Usage: make push-tag TAG=<release-tag>)
121121
endif
122122
bash scripts/v1beta1/build.sh $(KATIB_REGISTRY) $(TAG) $(CPU_ARCH)
123-
bash scripts/v1beta1/build.sh $(KATIB_REGISTRY) $(COMMIT) $(CPU_ARCH)
124123
bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(TAG)
125-
bash scripts/v1beta1/push.sh $(KATIB_REGISTRY) $(COMMIT)
126124

127125
# Release a new version of Katib.
128126
release:

scripts/v1beta1/release.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ if [[ ${sdk_version} == *"-rc."* ]]; then
7979
sdk_version=${sdk_version//-rc./rc}
8080
fi
8181
echo -e "\nPublishing Katib Python SDK, version: ${sdk_version}\n"
82-
# Run generate script.
83-
make generate
8482

8583
# Change version in setup.py
8684
cd sdk/python/v1beta1

0 commit comments

Comments
 (0)