mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Compute changelog by searching previous tag .. even from a tag
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
26f1aeff15
commit
84dad1a0e6
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user