Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
Removing auto-version selection, as docs must be ready
  • Loading branch information
ryanfoxtyler authored Jan 5, 2024
1 parent 23f05b3 commit 1037845
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,9 @@ THEME_BRANCH="${THEME_BRANCH:-main}"
# and then the older versions in descending order, such that the
# build script can place the artifact in an appropriate location.

getMajorVersions=$(curl -s https://get.dgraph.io/latest \
| grep -o '"majorReleases":.*]' | grep -o '".*"' | grep -o '"[^[]*$' \
| sed "s/\"//g" | sed "s/\,/ /g" | sed "s/v20.03/ /g" | sed "s/v21.12/ /g" | sed "s/v20.07/ /g")

MAJOR_VERSIONS=(
$getMajorVersions
)

VERSIONS_ARRAY=(
'v23.0'
'v22.0'
${MAJOR_VERSIONS:0}
${MAJOR_VERSIONS[@]:1}
'main'
'v21.12'
)

joinVersions() {
Expand Down

0 comments on commit 1037845

Please sign in to comment.