Diff for /mailredirect/src/2-release.sh between versions 1.3 and 1.4

version 1.3, 2004/11/16 09:36:55 version 1.4, 2005/09/19 08:59:23
Line 1 Line 1
#!/bin/sh #!/bin/sh
version=`cat version.txt` version=`cat version.txt`
cd ../downloads cd ../downloads
sed -e "s/@VERSION@/$version/g" < update.rdf.template > update.rdf sed -e "s/@VERSION@/$version/g" < update.rdf.template > update.rdf
cp mailredirect-cvs.xpi mailredirect.xpi cp mailredirect-cvs.xpi mailredirect.xpi
# create tar.gz # create tar.gz
cd ../src cd ../src
rm -rf mailredirect rm -rf mailredirect
mkdir mailredirect mkdir mailredirect
cp -al content locale install.js.template install.rdf.template BUGS Changelog skin skin-moz version.txt 1-cvs.sh 2-release.sh make-lang.sh mailredirect cp -al content locale install.js.template install.rdf.template BUGS Changelog skin skin-moz version.txt 1-cvs.sh 2-release.sh make-lang.sh chrome.manifest mailredirect 
tar cvf - mailredirect | gzip -9c > "../downloads/src/mailredirect-src-$version.tar.gz" tar cvf - mailredirect | gzip -9c > "../downloads/src/mailredirect-src-$version.tar.gz"
rm -rf mailredirect rm -rf mailredirect
cd ../downloads/src cd ../downloads/src
rm -f mailredirect-src-latest.tar.gz rm -f mailredirect-src-latest.tar.gz
ln -s "mailredirect-src-$version.tar.gz" mailredirect-src-latest.tar.gz ln -s "mailredirect-src-$version.tar.gz" mailredirect-src-latest.tar.gz

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>