]> git.wh0rd.org Git - tt-rss.git/commitdiff
add .deb creation script
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 11 Nov 2011 09:43:59 +0000 (13:43 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 11 Nov 2011 09:43:59 +0000 (13:43 +0400)
utils/create-release-deb.sh [new file with mode: 0755]

diff --git a/utils/create-release-deb.sh b/utils/create-release-deb.sh
new file mode 100755 (executable)
index 0000000..0f9d43f
--- /dev/null
@@ -0,0 +1,19 @@
+#!/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 co $1
+
+debuild -i -us -uc
+
+cd ..
+
+reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
+
+#cd ..
+#rm -rf dpkg-tmp