Skip to content

Commit c70d33d

Browse files
committed
success if no changes
1 parent 6443938 commit c70d33d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/make.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ if [[ "$CMD" == "codegen" ]]; then
208208
if [ -n "$(git status --porcelain)" ]; then
209209
echo -e "\033[32;1mTARGET: successfully generated client v$VERSION\033[0m"
210210
else
211-
echo -e "\033[31;1mTARGET: failed generating client v$VERSION\033[0m"
212-
exit 1
211+
echo -e "\033[33;1mTARGET: codegen completed for v$VERSION (no changes - code already up to date)\033[0m"
213212
fi
214213
fi
215214

0 commit comments

Comments
 (0)