This enables us to query the section earlier in the process, specifically before assigning the tag name which comes in the next commit.
Signed-off-by: Peter Hutterer <[email protected]> --- release.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/release.sh b/release.sh index a05b0c9..0c86c34 100755 --- a/release.sh +++ b/release.sh @@ -328,6 +328,13 @@ process_module() { remote_branch=`git config --get branch.$current_branch.merge | cut -d'/' -f3,4` echo "Info: working off the \"$current_branch\" branch tracking the remote \"$remote_name/$remote_branch\"." + # Obtain the section + get_section + if [ $? -ne 0 ]; then + cd $top_src + return 1 + fi + # Run 'make dist/distcheck' to ensure the tarball matches the git module content # Important to run make dist/distcheck before looking in Makefile, may need to reconfigure echo "Info: running \"make $MAKE_DIST_CMD\" to create tarballs:" @@ -445,13 +452,6 @@ process_module() { list_xcb="[email protected]" list_nouveau="[email protected]" - # Obtain the section - get_section - if [ $? -ne 0 ]; then - cd $top_src - return 1 - fi - # nouveau is very special.. sigh if [ x"$section" = xnouveau ]; then section=driver -- 1.9.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
