Small cosmetic corrections to the Debian changelog
[conkeror.git] / debian / update.sh
blobcbb594d7c4f0028987c9ffbe45f81d5736578afa
1 #!/bin/sh
3 currdir=`dirname $0`/..
4 cd $currdir
5 olddir=$(basename $(pwd -P))
6 echo currdir=$currdir olddir=$olddir
7 quilt pop -a
8 git fetch
9 git log HEAD..origin #optional, shows you the changes
10 echo -n "Hit enter to continue and merge changes or hit Ctrl-C to abort."
11 read line
12 git merge origin
13 version=0.9~git`date +%y%m%d`
14 echo -n "Hit enter to rename directory from $olddir to conkeror-$version
15 and generate source tar ball or hit Ctrl-C to abort."
16 read line
17 rm -f spawn-process-helper conkeror-spawn-helper
18 make clean
19 cd ..
20 mv -vi $olddir conkeror-$version
21 tar cvzf conkeror_$version.orig.tar.gz --exclude=debian --exclude=.git --exclude=.pc --exclude=configure-stamp conkeror-$version
22 cd conkeror-$version