This commit is contained in:
Artem Prilutskiy 2016-11-02 15:31:25 +03:00
parent b83a1da5ce
commit 127db9d89d
6 changed files with 38 additions and 0 deletions

15
UpdateLog.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
FILE=$(mktemp)
VERSION=$(grep -o -E "[0-9]+" Version.h)
DATE=$(date +"%a, %d %b %Y %H:%M:%S %z")
echo "tellusagent (${VERSION}) none; urgency=low" >> ${FILE}
echo >> ${FILE}
echo " * Daily build" >> ${FILE}
echo >> ${FILE}
echo " -- Artem Prilutskiy <cyanide.burnout@gmail.com> ${DATE}" >> ${FILE}
echo >> ${FILE}
# test -f debian/changelog && cat debian/changelog >> ${FILE}
mv ${FILE} debian/changelog