this repo has no description
1#!/bin/sh
2set -e
3
4DATE=$(date +%Y%m%d)
5rm -f debian/changelog
6DISTRO=${DEB_DISTRO:-"$(lsb_release -cs)"}
7VERSION=0.1.${DATE}~${DISTRO}
8EDITOR=true NAME="Darling build server" EMAIL=${DEB_EMAIL:-noreply@darlinghq.org} dch -u low -v ${VERSION} --create --distribution ${DISTRO} --package darling "Daily build"
9
10if [ "$1" = "--dsc" ]; then
11 ARG='-S -d'
12 if [ -e "../darling_${VERSION}.orig.tar.xz" ]; then
13 rm ../darling_${VERSION}.orig.tar.xz
14 fi
15 tar -cJf ../darling_${VERSION}.orig.tar.xz .
16else
17 ARG='-b'
18fi
19
20debuild --preserve-envvar 'CCACHE_*' --no-lintian -us -uc ${ARG}