gri3-wm/travis/debian-build.sh

16 lines
256 B
Bash
Executable File

#!/bin/sh
set -e
set -x
DEST=$1
make dist
# unpack dist tarball
mkdir -p "${DEST}"
tar xf *.tar.bz2 -C "${DEST}" --strip-components=1
cp -r debian "${DEST}"
cd "${DEST}"
debchange -m -l+g$(git describe --tags) 'Automatically built'
dpkg-buildpackage -b