From e583a0e879f0d651c51c0f51e1b017b0dfc80de5 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Tue, 27 Nov 2018 23:35:23 +0100 Subject: [PATCH] Travis: Set proper dir before checking git --- tools/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-release.sh b/tools/build-release.sh index 03667177..2a4f3f29 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -350,7 +350,7 @@ if [ $bIsPrerelease -eq 0 ]; then downloadAndMergePackageJSON "https://github.com/$TRAVIS_REPO_SLUG/releases/download/${prev_release}/${PACKAGE_JSON_REL}" "${pkgJsonRel}" "${curlAuth}" "$releaseDir" # Release notes: GIT log comments (prev_release, current_release> - git log --oneline $prev_release.. > $releaseDir/commits.txt + cd $srcdir && git log --oneline $prev_release.. > $releaseDir/commits.txt fi fi