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:
parent
30a7083b5a
commit
05dd424962
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue