We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfed9ec commit bb164caCopy full SHA for bb164ca
hack/update-deps.sh
@@ -39,7 +39,7 @@ function update_submodule() {
39
if [ "${version}" = "" ]; then
40
fetch_submodule "main" || return $?
41
else
42
- major_minor=${version:1} # Remove 'v' prefix
+ major_minor="${version##v}" # Remove 'v' prefix
43
# knobots might use a non existing version branch, in that case, fetch main branch
44
fetch_submodule "release-${major_minor}" || fetch_submodule "main" || return $?
45
fi
0 commit comments