Mercurial > ~astiob > upreckon > hgweb
view upreckon/publish.sh @ 255:d32b14e5a43b default tip
Added support for LZMA/XZ-compressed tar files (Python 3.3+)
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sun, 19 Oct 2014 01:33:22 +0200 |
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