Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
set revision to 0 for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
crowell committed Jan 25, 2016
1 parent d6d0fab commit 5217468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/lastchange.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ done

if [ -z $DEFAULT_FILE ]; then
KEY='Last Changed Rev: '
REVISION=$(git rev-list --all --count)
REVISION=0
echo LASTCHANGE=$REVISION > $OUT_FILE
else
cat $DEFAULT_FILE > $OUT_FILE
echo 0 > $OUT_FILE
fi

0 comments on commit 5217468

Please sign in to comment.