mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
[bug] unable to cancel the upgrade before it begins
This commit is contained in:
parent
07ea6e8c69
commit
ad6926ec1a
@ -3,8 +3,11 @@
|
||||
## Next release
|
||||
- Updated React and its dependencies to 17.0.3 and matching
|
||||
- Fix a bug: unable to set date formats during installation
|
||||
- Fix a bug: unable to cancel the upgrade before it begins
|
||||
- `SUPERADMIN_EMAIL` renamed to `ADMINSYS_EMAIL`
|
||||
- [TODO DEPLOY] `rails fablab:stripe:set_gateway`
|
||||
- [TODO DEPLOY] `rails fablab:maintenance:rebuild_stylesheet`
|
||||
- [TODO DEPLOY] `\curl -sSL https://raw.githubusercontent.com/sleede/fab-manager/master/scripts/rename-adminsys.sh | bash`
|
||||
|
||||
## v4.7.9
|
||||
- Updated dependency to OpenLab
|
||||
|
@ -123,8 +123,9 @@ compile_assets()
|
||||
upgrade()
|
||||
{
|
||||
[[ "$YES_ALL" = "true" ]] && confirm="y" || read -rp "Proceed with the upgrade? (Y/n) " confirm </dev/tty
|
||||
if [[ "$confirm" == "n" ]]; then exit 2; fi
|
||||
if [[ "$confirm" = "n" ]]; then exit 2; fi
|
||||
|
||||
add_environments
|
||||
docker-compose pull "$SERVICE"
|
||||
if [[ $? = 1 ]]; then
|
||||
printf "An error occured, detected service name: %s\nExiting...", "$SERVICE"
|
||||
@ -184,7 +185,6 @@ proceed()
|
||||
parseparams "$@"
|
||||
config
|
||||
version_check
|
||||
add_environments
|
||||
upgrade
|
||||
clean
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user