passepartout-apple/ci/build-number.sh

5 lines
102 B
Bash
Executable File

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