diff --git a/ArduinoIDE/build.sh b/ArduinoIDE/build.sh index 7c871cb..a98399b 100755 --- a/ArduinoIDE/build.sh +++ b/ArduinoIDE/build.sh @@ -27,10 +27,7 @@ then exit 1 fi -echo "# Update $JSON with SHA $SHA" -jq '.packages[0].platforms[0].checksum="'$SHA'"' < $TEMPLATE > $JSON - -echo "# Update $JSON with size $SIZE" -jq '.packages[0].platforms[0].size="'$SIZE'"' < $TEMPLATE > $JSON +echo "# Update $JSON with SIZE:$SIZE and SHA:$SHA" +jq '.packages[0].platforms[0].checksum="'$SHA'" | .packages[0].platforms[0].size="'$SIZE'"' < $TEMPLATE > $JSON exit 0 diff --git a/ArduinoIDE/package_mickmake_index.json b/ArduinoIDE/package_mickmake_index.json index 7577df3..25b9f90 100644 --- a/ArduinoIDE/package_mickmake_index.json +++ b/ArduinoIDE/package_mickmake_index.json @@ -13,7 +13,7 @@ "online": "https://mickmake.com/" }, "url": "https://github.com/MickMake/SuperDuper/raw/master/ArduinoIDE/mickmake-samd-1.0.0.tar.bz2", - "checksum": "SHA-256:%%SHA%%", + "checksum": "SHA-256:a2d4375aa1a549067318999fc2a1d8a375f376986a9c2d06e3d76a978fb66839", "version": "1.0.0", "architecture": "samd", "archiveFileName": "mickmake-samd-1.0.0.tar.bz2",