Strabon

view scripts/update-debian-version.sh @ 1484:fdbcb246115b

#58 added script that is invoked by maven to update the versions in
the control files
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Wed Mar 11 15:29:31 2015 +0200 (2015-03-11)
parents
children 485e825512e4
line source
1 #!/bin/bash
2 #
3 # Should be run without arguments from inside the endpoint-exec directory.
4 #
6 VERSION=`grep version pom.xml | head -1 | sed 's/\(.*\)<version>\(.*\)<\/version>/\2/'`
8 sed -i "s/^Version.*$/Version: ${VERSION}/" ./src/deb/control/control