52 lines
2.0 KiB
Tcsh
Executable File
52 lines
2.0 KiB
Tcsh
Executable File
#! /bin/csh -f
|
|
|
|
echo "--------------------------------------------------------------------------"
|
|
echo "NewTag: Updates the CVS tag for all files in the CDEV distribution"
|
|
echo " Prior to running this program, make sure that all changes "
|
|
echo " that are to be distributed with this release have been checked"
|
|
echo " into CVS."
|
|
echo " "
|
|
echo " Last used successfully by Walt Akers on 09/13/99"
|
|
echo "--------------------------------------------------------------------------"
|
|
|
|
if ($#argv < 2) then
|
|
echo "Format is: NewTag MajorVer MinorVer <Release>"
|
|
echo " ... MajorVer is the major version number of cdev"
|
|
echo " ... MinorVer is the minor version number of cdev"
|
|
echo " ... Release is the release number of cdev\n"
|
|
echo "Example: To update the CVS tag for cdev/1.7.1 the"
|
|
echo " command will be NewTag 1 7 1\n"
|
|
exit
|
|
else
|
|
set MAJORVER=$1
|
|
set MINORVER=$2
|
|
if($#argv >2) then
|
|
set RELEASE=$3
|
|
set CVSTAG=CDEV_R${MAJORVER}_${MINORVER}_${RELEASE}
|
|
set DISTDIR=cdev_${MAJORVER}.${MINORVER}.${RELEASE}
|
|
else
|
|
set RELEASE=None
|
|
set CVSTAG=CDEV_R${MAJORVER}_${MINORVER}
|
|
set DISTDIR=cdev_${MAJORVER}.${MINORVER}
|
|
endif
|
|
endif
|
|
|
|
echo "Steps: This program will perform the following steps"
|
|
echo " to create the distribution.\n"
|
|
echo " 1) It will install a revision number in cdev"
|
|
echo " that identifies this version using the "
|
|
echo " MajorVer/MinorVer/Revision number provided.\n"
|
|
echo " (cdev/1.6.2 would be labeled cdev_R1_6_2.\n"
|
|
echo "------------------------------- OPTIONS --------------------------------\n"
|
|
echo "Major Version : $MAJORVER "
|
|
echo "Minor Version : $MINORVER "
|
|
echo "Release : $RELEASE "
|
|
echo "CVS Release Tag : $CVSTAG "
|
|
echo "------------------------------------------------------------------------\n"
|
|
|
|
echo "Press <CTRL>+C to quit or <RETURN> to continue"
|
|
read
|
|
echo "Continuing...\n"
|
|
echo "STEP 1: Tagging CDEV with Revision Tag $CVSTAG"
|
|
cvs rtag -afRF $CVSTAG cdev
|