Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 6dad36cb60e267f82fe69d929f7a4a46 > files > 76

vanilla-2.9pl7-2mdk.i586.rpm


$Id: README.releasing,v 1.4 2001/02/02 09:17:51 cameron Exp $

Release Procedure

# assumes csh or tcsh
# be in your local copy of the CVS repository
cd Vanilla

# set variables to ease the rest of this ... (csh or tcsh)
set VS=2.9pl7
set VL=v_2_9_7

# make sure you have committed all changes
cvs -z9 diff -u > tmp.tmp
# review uncommitted changes
more tmp.tmp
# commit changes
cvs -z9 commit

# tag the release
cvs -z9 tag $VL
cvs -z9 tag -F v_release

# export the tagged release to a new directory and tar
cd ..
setenv CVSROOT :pserver:cameron@cvs.us.netrek.org:/home/netrek/cvsroot
cvs -z9 export -d Vanilla-$VS -r $VL Vanilla
# package res-rsa with .tar.gz as per Dave Ahn 28th June 2000
cd Vanilla-$VS
tar xzf ../Vanilla/res-rsa-2.9.2.tar.gz
mv res-rsa-2.9.2/* res-rsa/
rmdir res-rsa-2.9.2
cd ..
tar cf Vanilla-$VS.tar Vanilla-$VS
gzip -9 Vanilla-$VS.tar

# record md5sum of kit for publishing
md5sum Vanilla-$VS.tar.gz > Vanilla-$VS.tar.gz.md5sum

# test build kit
cd Vanilla-$VS
./configure --prefix=/tmp/$VS
make

# test install kit
make install
/tmp/$VS/netrekd

# test client
cow -h localhost

# clean up
/tmp/$VS/netrekd stop
rm -rf /tmp/$VS
cd ..
rm -rf Vanilla-$VS

# rpm packaging
Vanilla/rpm/tar2rpm
cp Vanilla/res-rsa-*.tar.gz /usr/src/redhat/SOURCES
cd /usr/src/redhat/SPECS
rpm -ba netrek.spec
# test package install

# send .tar.gz and .rpm to ftp sites
ftp://ftp.netrek.org/pub/netrek/incoming/ (note 15 second login timer)
ftp://ftp.real-time.com/pub/Incoming/
	
# notify mirror owners, include URL of incoming copy and md5sum.
mailto:vanilla-list@us.netrek.org

# build differences between this version and previous

# update web page
http://vanilla.us.netrek.org/index.html
setenv CVSROOT :pserver:cameron@cvs.us.netrek.org:/home/netrek/cvsroot
cvs checkout web [or] cvs update
# review differences and generate short change list in index.html
cvs commit

# await mirror completion
# notify others
mailto:vanilla-announce@us.netrek.org
news:rec.games.netrek

# update version number in files
# patchlevel.h, version.h, rpm/netrek.spec, rpm/tar2rpm, README.releasing