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"