Added pristine-tar to default push
[barry.git] / snapshot.sh
blob2501025d99c5c3193235161cb34a57d7df76bd4e
1 #!/bin/sh
3 # Meant to be run from within a git repository.
5 set -e
7 # Do a little dance to find the full path to debian-snap.sh
8 SCRIPTDIR="$(cd "$(dirname "$0")" && pwd)"
10 cd maintainer
11 ./git-extract.sh $1 $2 $3
12 (cd build/barry* && "$SCRIPTDIR/debian-snap.sh" $1 $2)
13 (cd build/barry* && "$SCRIPTDIR/rpm-snap.sh" $1 $2)
14 sleep 2s
15 (cd build/barry* && ../../tar-prepare.sh)
16 (cd build && ../tar-create.sh $1 $2)
18 echo
19 echo "***********************************************************"
20 echo " Remember to update the OBS RPM spec file with a new"
21 echo " Release date, as well as updating it with any changes"
22 echo " in the git tree since the last update."
23 echo "***********************************************************"
24 echo