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 5ebd549 commit 368f9fbCopy full SHA for 368f9fb
.github/make.sh
@@ -65,7 +65,7 @@ codegen)
65
if [ -v "$VERSION" ] || [[ -z "$VERSION" ]]; then
66
# fall back to branch name or `main` if no VERSION is set
67
branch_name=$(git rev-parse --abbrev-ref HEAD)
68
- if [[ "$branch_name" =~ ^[0-9]+\.[0-9]+ ]]; then
+ if [[ "$branch_name" =~ ^[0-9]+\.([0-9]+|x) ]]; then
69
echo -e "\033[36;1mTARGET: codegen -> No VERSION argument found, using branch name: \`$branch_name\`\033[0m"
70
VERSION="$branch_name"
71
else
0 commit comments