read the package version from the changelog file

This commit is contained in:
Gambhiro 2015-12-18 15:13:42 +00:00
parent fae3aadb3a
commit ca35cd4c94

View File

@ -16,9 +16,8 @@ Options:
--signed
--unsigned"
# version for the debian package
VERSION=0.9.9.2e
PROJECT=fractorium
VERSION=$(cat ./debian/changelog | head -n 1 | sed 's/^'$PROJECT' (\([^-]\+\)-.*/\1/')
PROJECT_ROOT=$PWD
PPA_DIR="$HOME/PPA/$PROJECT-$VERSION"
TAR_NAME="$PROJECT-$VERSION.tar.gz"