chore(CI): disable apps version check in unstable tags
This commit is contained in:
parent
ce1e6ce89d
commit
e1a33c373c
|
@ -17,6 +17,7 @@ get_vsn() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_apps() {
|
||||||
while read -r app_path; do
|
while read -r app_path; do
|
||||||
app=$(basename "$app_path")
|
app=$(basename "$app_path")
|
||||||
src_file="$app_path/src/$app.app.src"
|
src_file="$app_path/src/$app.app.src"
|
||||||
|
@ -54,3 +55,14 @@ if [ $bad_app_count -gt 0 ]; then
|
||||||
else
|
else
|
||||||
echo "apps version check successfully"
|
echo "apps version check successfully"
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
_main() {
|
||||||
|
if echo "${latest_release}" |grep -oE '[0-9]+.[0-9]+.[0-9]+' > /dev/null 2>&1; then
|
||||||
|
check_apps
|
||||||
|
else
|
||||||
|
echo "skiped unstable tag: ${latest_release}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
_main
|
||||||
|
|
Loading…
Reference in New Issue