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 bfdae66 commit e992c32Copy full SHA for e992c32
.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