Created
February 17, 2017 20:17
-
-
Save erochest/a0f104998b0b3f25bb70dd67ff767de5 to your computer and use it in GitHub Desktop.
Upgrade script for Omeka
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 | |
TAG=$(git tag -l | tail -1) | |
echo "Upgrading to $TAG..." | |
echo | |
git stash save $TAG | |
git fetch origin | |
git checkout $TAG | |
git submodule update | |
git stash pop $TAG | |
echo | |
echo "Done" | |
echo "Please log in to http://cnhi-milio.nursing.virginia.edu/admin/." | |
echo "You may need to upgrade the database or some plugins." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment