Files
@ 15e16d709e79
Branch filter:
Location: libtransport.git/packaging/debian/build_spectrum2.sh - annotation
15e16d709e79
445 B
application/x-sh
Remove cpprest - we cannot use C++11 unfortunately. Make the Slack and XMPP frontends as a plugin (statically compiled for now)
54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 5b5c3b6c525c 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a | #!/bin/bash
set -x
vercount=$(git rev-list --all | wc -l)
gitrev=$(git rev-parse --short HEAD | sed 's/\(^[0-9\.]*\)-/\1~/')
version=$vercount-$gitrev
sed -i "1s/\((.*)\)/(1:$version-1)/" debian/changelog
rm -rf spectrum2_*
git clone ../../.git spectrum2-$version
tar -czf spectrum2_$version.orig.tar.gz spectrum2-$version
cp -r debian spectrum2-$version/debian
cd spectrum2-$version
debuild -i -us -uc
cd ..
rm -rf spectrum2-$version
|