add .deb creation script

This commit is contained in:
Andrew Dolgov 2011-11-11 13:43:59 +04:00
parent b532377c7f
commit cb635435b1
1 changed files with 19 additions and 0 deletions

19
utils/create-release-deb.sh Executable file
View File

@ -0,0 +1,19 @@
#!/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
git co $1
debuild -i -us -uc
cd ..
reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
#cd ..
#rm -rf dpkg-tmp