mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
POST_UPDATE: even on PR [skip ci]
This commit is contained in:
parent
c863084227
commit
2cbe1e7afc
|
@ -132,8 +132,9 @@ elif [[ "$new_version_major_rev" -eq "$current_version_major_rev" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Perform post_update commands for current version if it is a cooker
|
# Perform post_update commands for current version if it is a cooker or PR
|
||||||
if grep -qF "cooker" <<< $hard_version; then # If newly-installed version is a "cooker" build, always perform post_update commands for current version
|
if grep -qF "cooker" <<< "$hard_version" || grep -qF "PR" <<< "$hard_version"; then
|
||||||
|
# If newly-installed version is a "cooker" or "PR" build, always perform post_update commands for current version
|
||||||
if [[ "$(echo $hard_version | cut -d'-' -f2)" == "$new_version" ]]; then
|
if [[ "$(echo $hard_version | cut -d'-' -f2)" == "$new_version" ]]; then
|
||||||
is_newer_version="true"
|
is_newer_version="true"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue