Install input-tablet.svg in /usr/share/icons.
[GnomeTabletApps.git] / make_source_package.sh
blobb0ba470cae85323c778f86ae422f4e9a81076b4d
1 #!/bin/bash
3 . package_defines.sh
5 cd src
6 dch -m
7 cd ..
8 svn export src $RELEASE_NAME.orig
9 cd $RELEASE_NAME.orig
10 rm -r debian
11 cd ..
12 svn export src $RELEASE_NAME
13 cd $RELEASE_NAME
14 debuild -S -sa
15 cd ..
16 rm -r $RELEASE_NAME
19 echo -n "Do you want to upload the orig.tar.gz to kostmo.ath.cx? [Y/n] "
20 read character
21 case $character in
22 [Yy] | "" ) echo "You responded in the affirmative."
23 scp $DISTRIBUTABLE_NAME.orig.tar.gz kostmo.ath.cx:/Library/WebServer/Documents/software/pyrocket/$RELEASE_NAME.tar.gz
25 * ) echo "Fine, then."
26 esac
29 echo "Alternatively, I will upload a new source code release to Google Code."
30 echo -n "Do you want me to? [Y/n]: "
31 read character
32 case $character in
33 [Yy] | "" ) echo "You responded in the affirmative."
34 wget http://support.googlecode.com/svn/trunk/scripts/googlecode_upload.py
35 chmod a+x googlecode_upload.py
36 ./googlecode_upload.py -s "source code" -p $PROJECT_ID $DISTRIBUTABLE_NAME.orig.tar.gz
37 rm googlecode_upload.py
39 * ) echo "Fine, then."
40 esac
42 CHANGES_FILE=${DISTRIBUTABLE_NAME}-*_source.changes
44 echo "You might want to run 'dput my-ppa $CHANGES_FILE' next"
45 echo "-or-"
46 echo "run 'dput revu $CHANGES_FILE'"