]> git.wh0rd.org - tt-rss.git/blame - utils/create-release-deb.sh
fix dpkg for new classes layout
[tt-rss.git] / utils / create-release-deb.sh
CommitLineData
cb635435
AD
1#!/bin/sh -ei
2
3if [ -z $1 ]; then
4 echo usage: $0 VERSION
5 exit 1
6fi
7
8git clone . dpkg-tmp/tt-rss
9cd dpkg-tmp/tt-rss
b9d55377 10git checkout $1
cb635435
AD
11
12debuild -i -us -uc
058d3c96 13debuild -i -us -uc -b -aamd64
cb635435
AD
14
15cd ..
16
512538fd
AD
17if [! -z "$DEPLOY_DEBS" ]; then
18 reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
19 reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
20fi
cb635435
AD
21
22#cd ..
23#rm -rf dpkg-tmp