Files @ 2e508b97c36f
Branch filter:

Location: libtransport.git/packaging/fedora/build_tarball.sh

Jan Kaluza
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
#!/bin/sh
set -eu

DIRNAME=spectrum2
REPODIR=$(readlink -f $(dirname $0)/../../.git)

echo "Cleaning up old sources ..."
rm -rf spectrum2-*

echo "Checking out a fresh copy ..."
rm -rf $DIRNAME
git clone $REPODIR $DIRNAME && rm -rf $DIRNAME/.git

echo "Creating tarball ..."
tar czf $DIRNAME.tar.gz $DIRNAME && rm -rf $DIRNAME