Compare commits

...

2 Commits

Author SHA1 Message Date
408483fc54 commit to trigger the switch 2023-08-16 09:59:15 +02:00
e66b84b590 refactor: switch sites to main 2023-08-16 09:48:42 +02:00
2 changed files with 7 additions and 1 deletions

View File

@ -80,6 +80,12 @@ for DIR in /etc/bridgehead $(pwd); do
log "INFO" "You can review all changes on the repository with $git_repository_url/compare?from=$old_git_hash&to=$new_git_hash" log "INFO" "You can review all changes on the repository with $git_repository_url/compare?from=$old_git_hash&to=$new_git_hash"
fi fi
git_updated="true" git_updated="true"
if [ "$DIR" == "/srv/docker/bridgehead" ]; then
git -C "$DIR" checkout main
REPORT_BRANCH_NAME=$(git -C "$DIR" branch --show-current)
REPORT_STATUS_CHECK=$(git -C "$DIR" status --porcelain)
report_error 7 "MAINTENANCE: Switched Branch to main, you are now on branch $REPORT_BRANCH_NAME \n see status \n $REPORT_STATUS_CHECK"
fi
fi fi
done done