mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 00:32:37 +01:00 
			
		
		
		
	Publish script: don't stop if wandbox fails
This commit is contained in:
		| @@ -69,7 +69,7 @@ push | ||||
| extras/scripts/build-arduino-package.sh . "../ArduinoJson-$TAG.zip" | ||||
| extras/scripts/build-single-header.sh "src/ArduinoJson.h" "../ArduinoJson-$TAG.h" | ||||
| extras/scripts/build-single-header.sh "src/ArduinoJson.hpp" "../ArduinoJson-$TAG.hpp" | ||||
| extras/scripts/wandbox/publish.sh "../ArduinoJson-$TAG.h" > "../ArduinoJson-$TAG-wandbox.txt" | ||||
| extras/scripts/wandbox/publish.sh "../ArduinoJson-$TAG.h" > "../ArduinoJson-$TAG-wandbox.txt" || echo "Wandbox failed!" | ||||
| extras/scripts/get-release-page.sh "$VERSION" "CHANGELOG.md" "../ArduinoJson-$TAG-wandbox.txt" > "../ArduinoJson-$TAG.md" | ||||
|  | ||||
| echo "You can now copy ../ArduinoJson-$TAG.md into arduinojson.org/collections/_versions/$VERSION.md" | ||||
|   | ||||
| @@ -21,7 +21,7 @@ compile() { | ||||
| END | ||||
| 	URL=$(curl -sS -H "Content-type: application/json" -d @parameters.json  https://wandbox.org/api/compile.json | jq --raw-output .url) | ||||
| 	rm parameters.json | ||||
| 	echo "$1: $URL" | ||||
| 	[ -n "$URL" ] && echo "$1: $URL" | ||||
| } | ||||
|  | ||||
| compile "JsonGeneratorExample" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user