Mercurial > dive4elements > river
comparison contrib/make_flys_release/bin/make-importer-package.sh @ 8742:f7007b1aaa3f
Importer-packaging: just a warning would end up with a package that really looks like VERSION.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 07 May 2015 15:16:44 +0200 |
parents | ae3df0f96e15 |
children | f3aa7a12c86a |
comparison
equal
deleted
inserted
replaced
8741:a3023895ee4a | 8742:f7007b1aaa3f |
---|---|
64 # Update to VERSION | 64 # Update to VERSION |
65 echo "WARNING: any local changes in $SOURCE_DIR will be packaged." | 65 echo "WARNING: any local changes in $SOURCE_DIR will be packaged." |
66 cd ${SOURCE_DIR} | 66 cd ${SOURCE_DIR} |
67 if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ] | 67 if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ] |
68 then | 68 then |
69 echo "WARNING: $VERSION not found in $repo! Updating to default." | 69 echo "ERROR: No tag or branch $VERSION found in repository of $repo!" |
70 hg up default | 70 exit 1 |
71 else | 71 else |
72 hg up "$VERSION" | 72 hg up "$VERSION" |
73 fi | 73 fi |
74 | 74 |
75 # create PDF of manual | 75 # create PDF of manual |