- From: Ville Skytta <ville@hutz.w3.org>
- Date: Sat, 24 Apr 2004 17:31:10 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/misc In directory hutz:/tmp/cvs-serv13354 Added Files: Tag: validator-0_6_0-branch mkrelease.sh Log Message: First cut at a release tarball creator script. --- NEW FILE: mkrelease.sh --- #!/bin/bash version="$1" if [ -z "$version" ] ; then echo "Usage: $0 <version>" exit 1 fi set -e tbversion=${version//./_} topdir=$(cd $(dirname $0)/.. ; pwd) tmpdir= trap cleanup EXIT cleanup() { set +e [ -z "$tmpdir" -o ! -d "$tmpdir" ] || rm -rf "$tmpdir" } tmpdir=$(mktemp -d /tmp/validator.XXXXXX) mkdir -p $tmpdir/validator-$version cp -pR $topdir/{htdocs,httpd,misc,README.cvs} $tmpdir/validator-$version cd $tmpdir find validator-$version -type d -name CVS | xargs -r rm -rf find validator-$version -name .cvsignore | xargs -r rm -rf find . -type d | xargs -r chmod 755 find . -type f | xargs -r chmod 644 chmod 755 validator-$version/httpd/cgi-bin/check # sgml-lib tarball tar zc --owner=0 --group=0 -f $topdir/sgml-lib-$tbversion.tar.gz \ validator-$version/htdocs/sgml-lib # Validator tarball rm -rf validator-$version/htdocs/sgml-lib tar zc --owner=0 --group=0 -f $topdir/validator-$tbversion.tar.gz \ validator-$version
Received on Saturday, 24 April 2004 15:01:43 UTC