aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-05 11:19:54 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-05 11:19:54 +0200
commit2767d32c0efd7fe8a36e4340caeccb8841e1b96a (patch)
treeb07e828c3475951b3a7ca8b9c090f5aa9a0c17c8
parent25d38bf360db8f02cb5d6f7c6861dcf9cc5fb206 (diff)
downloadnx-libs-2767d32c0efd7fe8a36e4340caeccb8841e1b96a.tar.gz
nx-libs-2767d32c0efd7fe8a36e4340caeccb8841e1b96a.tar.bz2
nx-libs-2767d32c0efd7fe8a36e4340caeccb8841e1b96a.zip
roll-tarball.sh: Fix ChangeLog creation, always create ChangeLog for the CHECKOUT, not the currently checked out branch.
-rwxr-xr-xroll-tarballs.sh2
1 files changed, 1 insertions, 1 deletions
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"