From 95d417cd93ad3c267598f32e58fa9cb0b165b41a Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Tue, 27 Nov 2018 23:59:12 +0100 Subject: [PATCH] Update build-release.sh force correct dir --- tools/build-release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build-release.sh b/tools/build-release.sh index eec0b9c3..cf729de5 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -332,6 +332,7 @@ pkgJsonDev=$releaseDir/$PACKAGE_JSON_DEV echo " - generating/merging _DEV_ JSON file (${pkgJsonDev})..." cat $srcdir/package/package_esp32_index.template.json | jq "$jq_arg" > $pkgJsonDev +cd $srcdir if [ ! -z "$prev_any_release" ] && [ "$prev_any_release" != "null" ]; then downloadAndMergePackageJSON "https://github.com/$TRAVIS_REPO_SLUG/releases/download/${prev_any_release}/${PACKAGE_JSON_DEV}" "${pkgJsonDev}" "${curlAuth}" "$releaseDir"