[Project] creating release script

This commit is contained in:
Robert von Burg 2014-09-20 14:52:34 +02:00
parent e9bb3fbb68
commit 145b46b78a
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,7 @@ if ! git submodule foreach git status --short ; then
fail
fi
# commit and tag submodules
if ! git submodule foreach git add . ; then
fail
fi
@ -119,6 +120,7 @@ if ! git submodule foreach git tag ${new_version} ; then
fail
fi
# commit and tag including ref to submodules
if ! git submodule sync ; then
fail
fi
@ -149,6 +151,8 @@ if [ -n "${create_release_branch}" ] ; then
fi
fi
git submodule update
echo -e "\nINFO: Released version ${new_version}"
exit 0