]> git.wh0rd.org - tt-rss.git/blame - utils/create-release-deb.sh
Merge pull request #77 from scarabeusiv/master
[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
a357f53c 13#debuild -i -us -uc -b -aamd64
cb635435
AD
14
15cd ..
16
761501fc 17if [ ! -z "$DEPLOY_DEBS" ]; then
512538fd 18 reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
a357f53c 19 #reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
512538fd 20fi
cb635435
AD
21
22#cd ..
23#rm -rf dpkg-tmp