view upreckon/publish.sh @ 178:0d657576b1ac

tests directories are now searched for within archives
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 20 Jun 2011 17:52:09 +0300
parents d5b6708c1955
children
line wrap: on
line source

#! /bin/sh

VERSION=`hg identify | awk '{ print $1 }'`
if [ -z "$VERSION" ]
then
	echo The current Mercurial changeset could not be determined. >&2
	exit 1
fi

sed 's/$$REV$\$/hg '"$VERSION/" upreckon-vcs >upreckon
chmod +x upreckon