libapse.lib: ignore everything after a dash ('-') when checking for last version
This commit is contained in:
parent
7761a49bb3
commit
99fd03d6a7
@ -565,7 +565,7 @@ apse.cmpversion \"$last_version\" \"$new_version\""
|
|||||||
unset APSE_LAST_VERSION
|
unset APSE_LAST_VERSION
|
||||||
|
|
||||||
if [ "$last_version" ]; then
|
if [ "$last_version" ]; then
|
||||||
APSE_LAST_VERSION="${last_version/-/.}"
|
APSE_LAST_VERSION="${last_version/-*}"
|
||||||
notify.note $"\
|
notify.note $"\
|
||||||
last version of \`${NOTE}$specname${NORM}' found:"" \
|
last version of \`${NOTE}$specname${NORM}' found:"" \
|
||||||
\`${NOTE}${APSE_LAST_VERSION}${NORM}'"
|
\`${NOTE}${APSE_LAST_VERSION}${NORM}'"
|
||||||
|
Loading…
Reference in New Issue
Block a user