File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ HDR=(--silent --location --fail --show-error -H "Authorization: ${TOKEN}" -H "X-
1414
1515# The files that are involved when generating docs
1616SCRIPT_FILES=" _scripts/download-docs.sh _scripts/otp_flatten_docs _scripts/otp_flatten_ex_docs _scripts/otp_doc_sitemap.sh"
17- LATEST_MAJOR_VSN=$( echo " $MAJOR_VSNs " | tr ' ' ' \n' | sort -n | tail -1)
1817
1918_get_vsns () {
2019 grep " ${1} " " ${OTP_VERSIONS_TABLE} " | awk ' {print $1}' | sed ' s/OTP-\(.*\)/\1/g'
@@ -38,6 +37,7 @@ _flatten_docs() {
3837}
3938
4039MAJOR_VSNs=$( _get_vsns " OTP-[0-9]\+\.0 " | sed ' s/^\([0-9]\+\).*/\1/g' )
40+ LATEST_MAJOR_VSN=$( echo " $MAJOR_VSNs " | tr ' ' ' \n' | sort -n | tail -1)
4141RINCLUDE=()
4242
4343for VSN in ${MAJOR_VSNs} ; do
You can’t perform that action at this time.
0 commit comments