Created
January 10, 2014 16:37
-
-
Save yoodame/8357640 to your computer and use it in GitHub Desktop.
drupal versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Site URI | |
| echo $(drush @uccd.prod status | grep 'Site URI') > uccd.versions | |
| echo -e "\n\n" >> uccd.versions | |
| # Versions | |
| uccd=$(drush @uccd.prod pmi) | |
| echo "$uccd" >> uccd.versions | |
| # Drupal Version | |
| echo -e "\n\n\nExtension : drupal\nProject : drupal\nType : core\nTitle : Drupal\nStatus : enabled" >> uccd.versions | |
| uccd=$(drush @uccd.prod status | grep 'Drupal version') | |
| echo ${uccd/Drupal version/Version} >> uccd.versions | |
| echo `php versions.php` > versions.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment