Explorar o código

Compute changelog by searching previous tag .. even from a tag

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof %!s(int64=5) %!d(string=hai) anos
pai
achega
84dad1a0e6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/release/generate_changelog.sh

+ 1 - 1
script/release/generate_changelog.sh

@@ -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