1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-28 12:10:52 +02:00
ttrss/utils/create-release-deb.sh
2011-11-21 16:15:54 +04:00

22 lines
343 B
Bash
Executable File

#!/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 checkout $1
debuild -i -us -uc
debuild -i -us -uc -b -aamd64
cd ..
reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
#cd ..
#rm -rf dpkg-tmp