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 35bc7da commit 3b17e4dCopy full SHA for 3b17e4d
scripts/build.sh
@@ -98,7 +98,12 @@ for branch in "${VERSION_BRANCHES[@]}"; do
98
if [[ "$branch" =~ ^release/ ]]; then
99
VERSION=$(echo "$branch" | sed 's|release/||')
100
VERSION_TITLE="$VERSION"
101
- VERSION_URL="/$VERSION/"
+ # First entry always has URL "/" regardless of version
102
+ if [ "$FIRST" = true ]; then
103
+ VERSION_URL="/"
104
+ else
105
+ VERSION_URL="/$VERSION/"
106
+ fi
107
else
108
VERSION="main"
109
VERSION_TITLE="Latest (main)"
0 commit comments