passepartout-apple/ci/build-number.sh

5 lines
102 B
Bash
Raw Normal View History

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