Skip to content

Commit e583a0e

Browse files
authored
Travis: Set proper dir before checking git
1 parent 7e9afe8 commit e583a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tools/build-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ if [ $bIsPrerelease -eq 0 ]; then
350350
downloadAndMergePackageJSON "https://github.com/$TRAVIS_REPO_SLUG/releases/download/${prev_release}/${PACKAGE_JSON_REL}" "${pkgJsonRel}" "${curlAuth}" "$releaseDir"
351351

352352
# Release notes: GIT log comments (prev_release, current_release>
353-
git log --oneline $prev_release.. > $releaseDir/commits.txt
353+
cd $srcdir && git log --oneline $prev_release.. > $releaseDir/commits.txt
354354
fi
355355
fi
356356

0 commit comments

Comments
 (0)