]> git.wh0rd.org - tt-rss.git/blobdiff - utils/create-release-deb.sh
release 1.5.8
[tt-rss.git] / utils / create-release-deb.sh
index 0f9d43f1647cb42ca0c8d48ff12e48451920edf3..7d87afc93e13808ad091e38a0a825d2b86b0d4e5 100755 (executable)
@@ -7,13 +7,17 @@ fi
 
 git clone . dpkg-tmp/tt-rss
 cd dpkg-tmp/tt-rss
-git co $1
+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
+if [ ! -z "$DEPLOY_DEBS" ]; then
+       reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
+       reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
+fi
 
 #cd ..
 #rm -rf dpkg-tmp