Mercurial > hg > sonic-visualiser
changeset 1080:8b63b44c3a91
Ensure version is updated in control file
author | Chris Cannam |
---|---|
date | Mon, 16 Nov 2015 11:43:51 +0000 |
parents | 7e1dbbff314f |
children | c977df9da61e |
files | deploy/linux/deploy-deb.sh |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/linux/deploy-deb.sh Fri Oct 23 08:45:31 2015 +0100 +++ b/deploy/linux/deploy-deb.sh Mon Nov 16 11:43:51 2015 +0000 @@ -50,6 +50,10 @@ perl -i -p -e "s/Depends: .*/$deps/" "$targetdir"/DEBIAN/control +control_ver=${version%-?} + +perl -i -p -e "s/Version: .*/Version: $control_ver/" "$targetdir"/DEBIAN/control + bash "$depdir"/fix-lintian-bits.sh "$targetdir" sudo dpkg-deb --build "$targetdir" && lintian "$targetdir".deb