mirror of
https://github.com/docker/compose.git
synced 2025-07-27 07:34:10 +02:00
Merge pull request #7163 from ndeloof/changelog
Compute changelog by searching previous tag .. even from a tag
This commit is contained in:
commit
4bf623d53d
@ -10,7 +10,7 @@ set -x
|
|||||||
git config --add remote.origin.fetch +refs/pull/*/head:refs/remotes/origin/pull/*
|
git config --add remote.origin.fetch +refs/pull/*/head:refs/remotes/origin/pull/*
|
||||||
git fetch origin
|
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 "Generate changelog for range ${RANGE}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user