mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
list-versions-bitbucket: accept more version formats
This commit is contained in:
parent
bd02abf38d
commit
e2cda6d65e
@ -7,8 +7,8 @@ fi
|
||||
|
||||
function check_prerelease() {
|
||||
read line
|
||||
if [[ "$line" =~ ^[0-9] ]]; then
|
||||
echo "$line"
|
||||
if [[ "$line" =~ ^[0-9._]+\| ]]; then
|
||||
echo "$line"
|
||||
else
|
||||
echo "$line" | sed 's/|false|/|true|/'
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user