mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Scripts: call wandbox/publish.sh from get-release-page.sh
				
					
				
			This commit is contained in:
		| @@ -4,14 +4,14 @@ set -eu | |||||||
|  |  | ||||||
| VERSION="$1" | VERSION="$1" | ||||||
| CHANGELOG="$2" | CHANGELOG="$2" | ||||||
| FRONTMATTER="$3" | ARDUINOJSON_H="$3" | ||||||
|  |  | ||||||
| cat << END | cat << END | ||||||
| --- | --- | ||||||
| branch: v6 | branch: v6 | ||||||
| version: $VERSION | version: $VERSION | ||||||
| date: '$(date +'%Y-%m-%d')' | date: '$(date +'%Y-%m-%d')' | ||||||
| $(cat "$FRONTMATTER") | $(extras/scripts/wandbox/publish.sh "$ARDUINOJSON_H") | ||||||
| --- | --- | ||||||
|  |  | ||||||
| $(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' "$CHANGELOG") | $(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' "$CHANGELOG") | ||||||
|   | |||||||
| @@ -73,7 +73,6 @@ push | |||||||
| extras/scripts/build-arduino-package.sh . "../ArduinoJson-$TAG.zip" | 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.h" "../ArduinoJson-$TAG.h" | ||||||
| extras/scripts/build-single-header.sh "src/ArduinoJson.hpp" "../ArduinoJson-$TAG.hpp" | extras/scripts/build-single-header.sh "src/ArduinoJson.hpp" "../ArduinoJson-$TAG.hpp" | ||||||
| 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.h" > "../ArduinoJson-$TAG.md" | ||||||
| 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" | echo "You can now copy ../ArduinoJson-$TAG.md into arduinojson.org/collections/_versions/$VERSION.md" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user