1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streams_ynh.git synced 2024-09-03 20:26:20 +02:00

log update when switching to release in config panel

This commit is contained in:
dragondaddy 2023-11-14 09:39:56 +01:00
parent 30a7083b5a
commit 05dd424962

View file

@ -75,7 +75,7 @@ set__git_branch_mode() {
ynh_print_info "Switching to \"release\" branch" ynh_print_info "Switching to \"release\" branch"
(cd "$install_dir" && ynh_exec_as "$app" git checkout release) (cd "$install_dir" && ynh_exec_as "$app" git checkout release)
ynh_print_info "Full update of the website" ynh_print_info "Full update of the website"
(cd "$install_dir" && ynh_exec_as "$app" util/udall) (cd "$data_dir" && bash daily-update.sh >> daily-updates.log 2>&1)
else else
ynh_die --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here" ynh_die --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here"
exit 1 exit 1