mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 21:05:09 +08:00
修复 postgresql 匹配机制
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
65744f24a0
commit
ab40db7255
10
.github/workflows/renovate-app-version.sh
vendored
10
.github/workflows/renovate-app-version.sh
vendored
@ -45,11 +45,12 @@ process_image() {
|
|||||||
date_version=$(echo "$trimmed_version" | grep -oE '[0-9]{4}-[0-9]{2}-[0-9]{2}')
|
date_version=$(echo "$trimmed_version" | grep -oE '[0-9]{4}-[0-9]{2}-[0-9]{2}')
|
||||||
if [[ -n "$date_version" ]]; then
|
if [[ -n "$date_version" ]]; then
|
||||||
if [[ "$found_alpine" == true ]]; then
|
if [[ "$found_alpine" == true ]]; then
|
||||||
date_version="$date_version-alpine"
|
cleaned_version="$date_version-alpine"
|
||||||
|
echo "Date alpine version: $date_version"
|
||||||
else
|
else
|
||||||
cleaned_version=$date_version
|
cleaned_version=$date_version
|
||||||
|
echo "Date version: $date_version"
|
||||||
fi
|
fi
|
||||||
echo "Date version: $date_version"
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -57,11 +58,12 @@ process_image() {
|
|||||||
number_version=$(echo "$trimmed_version" | grep -oE '[0-9]+(\.[0-9]+){0,3}' | head -n1)
|
number_version=$(echo "$trimmed_version" | grep -oE '[0-9]+(\.[0-9]+){0,3}' | head -n1)
|
||||||
if [[ -n "$number_version" ]]; then
|
if [[ -n "$number_version" ]]; then
|
||||||
if [[ "$found_alpine" == true ]]; then
|
if [[ "$found_alpine" == true ]]; then
|
||||||
number_version="$number_version-alpine"
|
cleaned_version="$number_version-alpine"
|
||||||
|
echo "Number alpine version: $number_version"
|
||||||
else
|
else
|
||||||
cleaned_version=$number_version
|
cleaned_version=$number_version
|
||||||
|
echo "Number version: $number_version"
|
||||||
fi
|
fi
|
||||||
echo "Number version: $number_version"
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user