passepartout-apple/ci/build-number.sh

5 lines
104 B
Bash
Executable File

#!/bin/sh
BASE=`agvtool what-version -terse`
COUNT=`git rev-list --count master`
echo $((BASE + COUNT))