[Project] creating release script
This commit is contained in:
parent
e9bb3fbb68
commit
145b46b78a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue