summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update.sh
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-06-09 11:18:25 +0200
committerRamón M. Gómez <ramongomez@us.es>2020-06-09 11:18:25 +0200
commitae3ba28b99122209520f3454876ff429c221c9be (patch)
treee0a75094e5b869609c1adffac2e276bc19528324 /installer/opengnsys_update.sh
parentefbe3cae676d640ff6ad16fae527a23d421af2bc (diff)
Revert "#959: Update script checks all defined tags."
This reverts commit efbe3cae676d640ff6ad16fae527a23d421af2bc.
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-xinstaller/opengnsys_update.sh2
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" )