tt-rss/utils/create-release-deb.sh

24 lines
380 B
Bash
Raw Normal View History

2011-11-11 10:43:59 +01: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 13:15:54 +01:00
git checkout $1
2011-11-11 10:43:59 +01:00
debuild -i -us -uc
2011-11-20 07:51:07 +01:00
debuild -i -us -uc -b -aamd64
2011-11-11 10:43:59 +01:00
cd ..
2011-12-14 11:10:07 +01:00
if [! -z "$DEPLOY_DEBS" ]; then
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 10:43:59 +01:00
#cd ..
#rm -rf dpkg-tmp