]> git.wh0rd.org - tt-rss.git/blame - utils/create-release-deb.sh
use git checkout instead of git co
[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
17reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
058d3c96 18reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
cb635435
AD
19
20#cd ..
21#rm -rf dpkg-tmp