Use version number 2.2.0~datestamp for nightly snapshot packages

This commit is contained in:
Daniel James 2012-08-02 15:31:27 +01:00
parent f99574b723
commit 1eaac8b163
2 changed files with 8 additions and 6 deletions

4
debian/changelog vendored
View File

@ -1,6 +1,6 @@
airtime (2.1.4-1) unstable; urgency=low
airtime (2.2.0-1) unstable; urgency=low
* Nightly snapshot of Airtime
* Nightly development snapshot of Airtime 2.2.x
-- Daniel James <daniel@64studio.com> Thu, 02 Aug 2012 11:19:03 +0100

View File

@ -2,7 +2,7 @@
# Script for generating nightly Airtime snapshot packages
# Run from the directory containg the files checked out from git
VERSION=2.1.4~$(date "+%Y%m%d")
VERSION=2.2.0~$(date "+%Y%m%d")
BUILDDEST=/tmp/airtime-${VERSION}/
DEBDIR=`pwd`/debian
@ -23,9 +23,9 @@ cd ${BUILDDEST} || exit
# Set the version of the snapshot package
sed -i "1s:(2.1.4-1):(${VERSION}):g" debian/changelog
sed -i "1s:(2.2.0-1):(${VERSION}):g" debian/changelog
# FIXES for 2.1.4 #############
# FIXES for 2.2.0 #############
# these are all moved to debian/copyright
rm airtime/python_apps/pypo/LICENSE
@ -71,9 +71,11 @@ rm -r airtime/install_full/
#############################
echo "running the build..."
debuild --no-lintian -b -uc -us $@ || exit
exit
echo -n "UPLOAD? [enter|CTRL-C]" ; read
# optionally, copy the new package to the public server
scp /tmp/airtime_${VERSION}_all.deb apt.sourcefabric.org:/var/www/apt/misc/