Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Upgrade script for Omeka
TAG=$(git tag -l | tail -1)
echo "Upgrading to $TAG..."
git stash save $TAG
git fetch origin
git checkout $TAG
git submodule update
git stash pop $TAG
echo "Done"
echo "Please log in to"
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