Travis: Set proper dir before checking git

This commit is contained in:
Me No Dev 2018-11-27 23:35:23 +01:00 committed by GitHub
parent 7e9afe8c5e
commit e583a0e879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" 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> # 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
fi fi