From: Martin Mares Date: Sun, 19 Jan 2020 21:59:45 +0000 (+0100) Subject: debian/mk: Do not fail if debian/changelog is missing X-Git-Tag: v1.1.1~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=36903eef7762c84f342c8202e9120730aa3fb1bd;p=paperjam.git debian/mk: Do not fail if debian/changelog is missing --- diff --git a/debian/mk b/debian/mk index 9cd9fcb..c446e4b 100755 --- a/debian/mk +++ b/debian/mk @@ -4,7 +4,7 @@ set -e COMMIT=$(git rev-parse HEAD) VER=$(git describe --always --tags | sed s/^v//)-1 -rm debian/changelog +rm -f debian/changelog EDITOR=touch dch --create --package=paperjam --newversion=$VER "Automatically generated from Git commit $COMMIT." EDITOR=touch dch --release -D stable sed -i '/Initial release/d' debian/changelog