Fixed a bug in hgversion re: identification of tag sha1s, got changelog working in both git and hg

This commit is contained in:
2013-05-19 10:33:55 -04:00
parent 517916514b
commit 40ac4b926f
2 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ fi
REBUILDING=0
SHA1=$(git rev-parse HEAD)
TAG=$(git describe --tags `git rev-list --tags --max-count=1` 2>/dev/null)
TAG=$(git describe --tags `git rev-list --tags --max-count=1 HEAD` 2>/dev/null)
BUILD=0
CHANGELOG="$(git log --format="format:$LOGSPEC" ${BRANCH}@{0}..HEAD)"
if [ "$TAG" == "" ]; then