Skip to content

Commit 71e7400

Browse files
piggitoandypost
authored andcommitted
Clear drush cache + keep module uninstalled to prevent concurrence issues.
1 parent 5036110 commit 71e7400

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/makefile/upgrade-status-validation.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
#!/usr/bin/env sh
22

33
# Enable Upgrade Status module
4-
drush en -y upgrade_status
4+
drush pm:enable upgrade_status -y
5+
6+
# Clear drush cache
7+
drush cc drush
58

69
# Search for no issues message
7-
REPORT=$(drush us-a --all --ignore-contrib --ignore-uninstalled)
10+
REPORT=$(drush upgrade_status:analyze --all --ignore-contrib --ignore-uninstalled)
811
IS_INVALID=$(echo "$REPORT" | grep "FILE:")
912

1013
# Exit 1 and alert if at least one file was reported.
1114
if [ -z "$IS_INVALID" ]; then
12-
drush pmu upgrade_status -y
1315
echo -e "Status report is valid : No error listed"
1416
exit 0
1517
else

0 commit comments

Comments
 (0)