diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-06-09 11:18:25 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-06-09 11:18:25 +0200 |
commit | ae3ba28b99122209520f3454876ff429c221c9be (patch) | |
tree | e0a75094e5b869609c1adffac2e276bc19528324 | |
parent | efbe3cae676d640ff6ad16fae527a23d421af2bc (diff) |
Revert "#959: Update script checks all defined tags."
This reverts commit efbe3cae676d640ff6ad16fae527a23d421af2bc.
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index aa981c0a..fb6891f0 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -197,7 +197,7 @@ function chooseVersion() # Fetch tags (releases) data from GitHub. while read -pe TAG URL; do if [[ $TAG =~ ^opengnsys- ]]; then - [ "${TAG#opengnsys-}" \< "${INSTVERSION%pre}" ] && continue + [ "${TAG#opengnsys-}" \< "${INSTVERSION%pre}" ] && break RELDATE=$(curl -s "$URL" | jq -r '.commit.committer.date | split("-") | join("")[:8]') RELEASES+=( "${TAG} ($RELDATE)" ) DOWNLOADS+=( "$URL" ) |