We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b6394 commit 7713169Copy full SHA for 7713169
.ci/make.sh
@@ -68,11 +68,8 @@ case $CMD in
68
TASK_ARGS=("$VERSION" "$output_folder")
69
;;
70
codegen)
71
- if [ -v $VERSION ]; then
72
- echo -e "\033[31;1mTARGET: codegen -> missing version parameter\033[0m"
73
- exit 1
74
- fi
75
- echo -e "\033[36;1mTARGET: codegen API v$VERSION\033[0m"
+ VERSION=$(git rev-parse --abbrev-ref HEAD)
+ echo -e "\033[36;1mTARGET: codegen API $VERSION\033[0m"
76
TASK=codegen
77
# VERSION is BRANCH here for now
78
TASK_ARGS=("$VERSION" "$codegen_folder")
0 commit comments