From 2767d32c0efd7fe8a36e4340caeccb8841e1b96a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 5 Apr 2017 11:19:54 +0200 Subject: roll-tarball.sh: Fix ChangeLog creation, always create ChangeLog for the CHECKOUT, not the currently checked out branch. --- roll-tarballs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roll-tarballs.sh b/roll-tarballs.sh index 1a9f98732..e33863119 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -73,7 +73,7 @@ trap "rm -f \"${MANIFEST}\"; rm -rf \"${TEMP_DIR}\"" 0 # create local copy of Git project at temp location git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd "$TEMP_DIR"; tar xf - ) -git --no-pager log --after "1972-01-01" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > "${TEMP_DIR}/${PROJECT}-${RELEASE}/ChangeLog" +git --no-pager log --after "1972-01-01" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" "${CHECKOUT}" > "${TEMP_DIR}/${PROJECT}-${RELEASE}/ChangeLog" echo "Created tarball for $CHECKOUT" -- cgit v1.2.3