diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-06-08 19:02:56 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-06-08 19:02:56 +0200 |
commit | efbe3cae676d640ff6ad16fae527a23d421af2bc (patch) | |
tree | 8cc6284716daedc6287267481ca2646cdd303d60 | |
parent | d4daa3475e859b94226aa081dd7d0765f0be4581 (diff) |
#959: Update script checks all defined tags.
-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 fb6891f0..aa981c0a 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}" ] && break + [ "${TAG#opengnsys-}" \< "${INSTVERSION%pre}" ] && continue RELDATE=$(curl -s "$URL" | jq -r '.commit.committer.date | split("-") | join("")[:8]') RELEASES+=( "${TAG} ($RELDATE)" ) DOWNLOADS+=( "$URL" ) |