passepartout-apple/ci/build-number.sh

5 lines
104 B
Bash
Raw Normal View History

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