Files
@ 2e508b97c36f
Branch filter:
Location: libtransport.git/packaging/debian/build_spectrum2.sh - annotation
2e508b97c36f
580 B
application/x-sh
Slack: get_oauth2_url now stores uin/password in the state data and use them when registering the user - this makes the registration easier from web interface side
54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a c262cc075ae1 c262cc075ae1 c262cc075ae1 c262cc075ae1 c262cc075ae1 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a d461b35e221b 54ae28e4838a 54ae28e4838a 54ae28e4838a 54ae28e4838a | #!/bin/bash
set -x
#Check functions required
hash debuild 2>/dev/null || ( echo >&2 "apt-get install devscripts"; exit 1; )
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
DEB_BUILD_OPTIONS=nocheck debuild -i -us -uc
cd ..
rm -rf spectrum2-$version
|