1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mobilizon_ynh.git synced 2024-09-03 19:46:19 +02:00

Fix version number for upgrade test

This commit is contained in:
Alexandre Aubin 2020-10-26 17:22:34 +01:00
parent 02c7d136f6
commit 2dda85301e

View file

@ -100,8 +100,8 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line
# UPGRADE FROM PREVIOUS VERSION # UPGRADE FROM PREVIOUS VERSION
#================================================= #=================================================
if ynh_version_gt "1.0.0-rc1~ynh1" "${previous_version}" ; then if ynh_version_gt "0.1.1" "${previous_version}" ; then
ynh_script_progression --message="Upgrade configuration to 1.0.0-rc1~ynh1..." ynh_script_progression --message="Upgrade configuration to 1.0.0..."
config="$final_path/$app/config/prod.secret.exs" config="$final_path/$app/config/prod.secret.exs"
ynh_backup_if_checksum_is_different --file="$config" ynh_backup_if_checksum_is_different --file="$config"