Automatically update the LATEST tag if doing a "real" release
authorH. Peter Anvin <hpa@zytor.com>
Sun, 19 May 2002 05:37:08 +0000 (05:37 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 19 May 2002 05:37:08 +0000 (05:37 +0000)
misc/release

index 0df1e5a..61b9921 100755 (executable)
@@ -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