Fixed a bug in hgversion re: identification of tag sha1s, got changelog working in both git and hg
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user