Last active
September 8, 2016 17:25
-
-
Save ianlintner-wf/5db23eab33193bb32379fb6e5ba985b0 to your computer and use it in GitHub Desktop.
This file contains 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
git checkout master | |
if ! git diff-files --quiet --ignore-submodules | |
then | |
echo "there are changes in the working tree exiting..." | |
exit 1 | |
fi | |
git pull origin | |
git pull origin --tags | |
git tag -a "$tag" -m "deploy tag $tag" | |
git pull --tags | |
git push --tags | |
drush $drush_alias ac-code-path-deploy "tags/$tag" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment