Merge pull request #7163 from ndeloof/changelog

Compute changelog by searching previous tag .. even from a tag
This commit is contained in:
Ulysses Souza 2020-01-23 19:01:19 +01:00 committed by GitHub
commit 4bf623d53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ set -x
git config --add remote.origin.fetch +refs/pull/*/head:refs/remotes/origin/pull/*
git fetch origin
RANGE=${1:-"$(git describe --tags --abbrev=0)..HEAD"}
RANGE=${1:-"$(git describe --tags --abbrev=0 HEAD^)..HEAD"}
echo "Generate changelog for range ${RANGE}"
echo