Commit d395512e authored by Ruben Rodriguez's avatar Ruben Rodriguez

Updated changelog.sh

parent ccd24ee5
#!/bin/sh
export DEBEMAIL=trisquel-devel@listas.trisquel.info
export DEBFULLNAME="Trisquel GNU/Linux developers"
CURRENTVERSION=$(head -n1 debian/changelog|sed 's/.*(//g; s/).*//g'|awk -F '-' '{print $1}')
CURRENTSUBVERSION=$(head -n1 debian/changelog|sed 's/.*(//g; s/).*//g'|awk -F '-' '{print $2}')
VERSION=$CURRENTVERSION-$(expr $CURRENTSUBVERSION + 1)
echo | dch -v $VERSION "$*"
dch -M --force-distribution $*
dch -M --force-distribution -r ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment