5 # check if Wireshark's ABI has been changes since last release (tag)
10 echo "$0 \"<build commands>\""
11 echo "e.g. $0 \"./autogen.sh && ./configure && make -j3 && make dumpabi\""
15 # build current version
18 cd `git rev-parse --show-toplevel`
21 # Stable branches with releases
22 #LAST_TAG=`git describe --tags --abbrev=0`
23 #LAST_TAG_DIR=$LAST_TAG
31 git archive $LAST_TAG | tar -x -C $LAST_TAG_DIR
34 (cd $LAST_TAG_DIR && bash -c "$1")
36 exec tools/compare-abis.sh `pwd`/$LAST_TAG_DIR `pwd`