diff --git a/release.sh b/release.sh index fcfbf06ab..ca278b592 100755 --- a/release.sh +++ b/release.sh @@ -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