
mainly this is just cleaning up the output from the build commands but also added debian/changelog to ignore file to stop it being accidentally committed back.
26 lines
756 B
Bash
Executable file
26 lines
756 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Create the Tvheadend changelog
|
|
#
|
|
|
|
# Arguments
|
|
CHANGELOG=$1
|
|
DIST=$2
|
|
VER=$3
|
|
|
|
# Defaults
|
|
[ -z "$CHANGELOG" ] && CHANGELOG=$(dirname $0)/../debian/changelog
|
|
[ -z "$DEBEMAIL" ] && DEBEMAIL="andreas@lonelycoder.com"
|
|
[ -z "$DEBFULLNAME" ] && DEBFULLNAME="Andreas Öman"
|
|
[ -z "$VER" ] && VER=$($(dirname $0)/version)
|
|
[ ! -z "$DIST" ] && VER=${VER}~${DIST}
|
|
[ -z "$DIST" ] && DIST=unstable
|
|
|
|
# Output
|
|
NOW=$(date -R)
|
|
echo >${CHANGELOG} "tvheadend (${VER}) ${DIST}; urgency=low"
|
|
echo >>${CHANGELOG}
|
|
echo >>${CHANGELOG} " * The full changelog can be found at "
|
|
echo >>${CHANGELOG} " http://www.lonelycoder.com/tvheadend/download"
|
|
echo >>${CHANGELOG}
|
|
echo >>${CHANGELOG} " -- ${DEBFULLNAME} <${DEBEMAIL}> ${NOW}"
|