2011-11-11 09:43:59 +00:00
|
|
|
#!/bin/sh -ei
|
|
|
|
|
|
|
|
if [ -z $1 ]; then
|
|
|
|
echo usage: $0 VERSION
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
git clone . dpkg-tmp/tt-rss
|
|
|
|
cd dpkg-tmp/tt-rss
|
2011-11-21 12:15:54 +00:00
|
|
|
git checkout $1
|
2011-11-11 09:43:59 +00:00
|
|
|
|
|
|
|
debuild -i -us -uc
|
2011-11-20 06:51:07 +00:00
|
|
|
debuild -i -us -uc -b -aamd64
|
2011-11-11 09:43:59 +00:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
2011-12-20 11:34:05 +00:00
|
|
|
if [ ! -z "$DEPLOY_DEBS" ]; then
|
2011-12-14 10:10:07 +00:00
|
|
|
reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
|
|
|
|
reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
|
|
|
|
fi
|
2011-11-11 09:43:59 +00:00
|
|
|
|
|
|
|
#cd ..
|
|
|
|
#rm -rf dpkg-tmp
|