]> mj.ucw.cz Git - paperjam.git/blob - debian/mk
Debian packaging
[paperjam.git] / debian / mk
1 #!/bin/bash
2 set -e
3
4 COMMIT=$(git rev-parse HEAD)
5 VER=$(git describe --always --tags | sed s/^v//)-1
6
7 rm debian/changelog
8 EDITOR=touch dch --create --package=paperjam --newversion=$VER "Automatically generated from Git commit $COMMIT."
9 EDITOR=touch dch --release -D stable
10 sed -i '/Initial release/d' debian/changelog