Skip to content

Commit

Permalink
Make sure master's up to date when tagging versions
Browse files Browse the repository at this point in the history
  • Loading branch information
quis committed Jun 11, 2015
1 parent bb35b5c commit ff4a9bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages_builder/tag_latest_version.sh
Expand Up @@ -4,6 +4,7 @@ echo "≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
echo "TAGGING LATEST VERSION"
echo "--------------------------------------------------------------------------------"
git checkout master
git pull origin master
commit=$(git log master --pretty=oneline --abbrev-commit --no-decorate | grep "Bump version to" | head -n1)
sha=$(echo $commit | cut -d ' ' -f1)
version=v$(cat VERSION.txt)
Expand Down

0 comments on commit ff4a9bd

Please sign in to comment.