From: H. Peter Anvin Date: Sun, 19 May 2002 05:37:08 +0000 (+0000) Subject: Automatically update the LATEST tag if doing a "real" release X-Git-Tag: nasm-2.11.05~2377 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac7e75a05d0b0de194fff245639c7e2eac72bc1d;p=platform%2Fupstream%2Fnasm.git Automatically update the LATEST tag if doing a "real" release --- diff --git a/misc/release b/misc/release index 0df1e5a..61b9921 100755 --- a/misc/release +++ b/misc/release @@ -51,7 +51,11 @@ v3=`echo $version | cut -d. -f3` # Tag the tree as a release if $real; then - cd nasm && $CVS tag -F nasm-`echo $version | sed -e 's/\./_/g'` && cd .. + cvstag=nasm-`echo $version | sed -e 's/\./_/g'` + # Create the tag for this release + ( cd nasm && $CVS tag -F $cvstag ) + # Update the LATEST tag + $CVS rtag -r $cvstag -F -a LATEST nasm fi # Extract file names which have the -kb flag set, meaning they