diff --git a/build-installers.sh b/build-installers.sh index 5bb57880d..9af8542be 100755 --- a/build-installers.sh +++ b/build-installers.sh @@ -367,11 +367,16 @@ process_installer "${MSI32NAME}" "msi86" process_installer "${MSI64NAME}" "msi64" cat >> "./tmp/latest-installers.json" <> "./tmp/latest-installers.js" +echo ";" >> "./tmp/latest-installers.js" + aws --profile=duplicati-upload s3 cp "./tmp/latest-installers.json" "s3://updates.duplicati.com/${BUILDTYPE}/latest-installers.json" +aws --profile=duplicati-upload s3 cp "./tmp/latest-installers.js" "s3://updates.duplicati.com/${BUILDTYPE}/latest-installers.js" if [ -d "./tmp" ]; then rm -rf "./tmp" diff --git a/build-release.sh b/build-release.sh index 383a66e80..fc10ee986 100644 --- a/build-release.sh +++ b/build-release.sh @@ -231,6 +231,7 @@ ZIP_SHA256=`shasum -a 256 ${UPDATE_TARGET}/${RELEASE_FILE_NAME}.zip | awk -F ' ' cat > "latest.json" < "latest.json" <> "latest.js" +echo ";" >> "latest.js" -echo "${RELEASE_FILE_NAME}" > "latest.json" aws --profile=duplicati-upload s3 cp "latest.json" "s3://updates.duplicati.com/${RELEASE_TYPE}/latest.json" +aws --profile=duplicati-upload s3 cp "latest.js" "s3://updates.duplicati.com/${RELEASE_TYPE}/latest.js" echo "Propagating to other build types" for OTHER in ${OTHER_UPLOADS}; do