added support for rpm packaging and basic support for deb
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
rm -rf ./tis-tisbackup/ ./BUILD *.rpm ./RPMS
|
||||
mkdir -p BUILD RPMS
|
||||
|
||||
VERSION=`git rev-list HEAD --count`
|
||||
echo $VERSION > __VERSION__
|
||||
|
||||
rpmbuild -bb --buildroot $PWD/builddir -v --clean tis-tisbackup.spec
|
||||
cp RPMS/*/*.rpm .
|
||||
|
||||
Reference in New Issue
Block a user