view upreckon/publish.sh @ 201:32650f4a2177

taskweight can now be an iterable or a mapping If an iterable, its items correspond to items of the problems configuration variable. If a mapping, its keys are problem names.
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 17 Aug 2011 01:05:06 +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