mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Add PlatformIO badge to README
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -6,11 +6,11 @@ | |||||||
| [](https://ci.appveyor.com/project/bblanchon/arduinojson/branch/6.x) | [](https://ci.appveyor.com/project/bblanchon/arduinojson/branch/6.x) | ||||||
| [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:arduinojson) | [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:arduinojson) | ||||||
| [](https://lgtm.com/projects/g/bblanchon/ArduinoJson/) | [](https://lgtm.com/projects/g/bblanchon/ArduinoJson/) | ||||||
| [](https://coveralls.io/github/bblanchon/ArduinoJson?branch=6.x)      | [](https://coveralls.io/github/bblanchon/ArduinoJson?branch=6.x)   | ||||||
| [](https://discord.gg/DzN6hHHD4h) | [](https://www.ardu-badge.com/ArduinoJson/6.18.5) | ||||||
|  | [](https://registry.platformio.org/packages/libraries/bblanchon/ArduinoJson?version=6.18.5)  | ||||||
| [](https://github.com/bblanchon/ArduinoJson/stargazers) | [](https://github.com/bblanchon/ArduinoJson/stargazers) | ||||||
| [](https://github.com/sponsors/bblanchon)   | [](https://github.com/sponsors/bblanchon) | ||||||
| [](https://www.ardu-badge.com/ArduinoJson/6.18.5) |  | ||||||
|  |  | ||||||
| ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things). | ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things). | ||||||
|  |  | ||||||
| @@ -51,7 +51,7 @@ ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things). | |||||||
|         * Arduino boards: [Uno](https://amzn.to/38aL2ik), [Due](https://amzn.to/36YkWi2), [Micro](https://amzn.to/35WkdwG), [Nano](https://amzn.to/2QTvwRX), [Mega](https://amzn.to/36XWhuf), [Yun](https://amzn.to/30odURc), [Leonardo](https://amzn.to/36XWjlR)... |         * Arduino boards: [Uno](https://amzn.to/38aL2ik), [Due](https://amzn.to/36YkWi2), [Micro](https://amzn.to/35WkdwG), [Nano](https://amzn.to/2QTvwRX), [Mega](https://amzn.to/36XWhuf), [Yun](https://amzn.to/30odURc), [Leonardo](https://amzn.to/36XWjlR)... | ||||||
|         * Espressif chips: [ESP8266](https://amzn.to/36YluV8), [ESP32](https://amzn.to/2G4pRCB) |         * Espressif chips: [ESP8266](https://amzn.to/36YluV8), [ESP32](https://amzn.to/2G4pRCB) | ||||||
|         * Lolin (WeMos) boards: [D1 mini](https://amzn.to/2QUpz7q), [D1 Mini Pro](https://amzn.to/36UsGSs)... |         * Lolin (WeMos) boards: [D1 mini](https://amzn.to/2QUpz7q), [D1 Mini Pro](https://amzn.to/36UsGSs)... | ||||||
|         * Teensy boards: [4.0](https://amzn.to/30ljXGq), [3.2](https://amzn.to/2FT0EuC), [2.0](https://amzn.to/2QXUMXj)  |         * Teensy boards: [4.0](https://amzn.to/30ljXGq), [3.2](https://amzn.to/2FT0EuC), [2.0](https://amzn.to/2QXUMXj) | ||||||
|         * Particle boards: [Argon](https://amzn.to/2FQHa9X), [Boron](https://amzn.to/36WgLUd), [Electron](https://amzn.to/30vEc4k), [Photon](https://amzn.to/387F9Cd)... |         * Particle boards: [Argon](https://amzn.to/2FQHa9X), [Boron](https://amzn.to/36WgLUd), [Electron](https://amzn.to/30vEc4k), [Photon](https://amzn.to/387F9Cd)... | ||||||
|         * Texas Instruments boards: [MSP430](https://amzn.to/30nJWgg)... |         * Texas Instruments boards: [MSP430](https://amzn.to/30nJWgg)... | ||||||
|         * Soft cores: [Nios II](https://en.wikipedia.org/wiki/Nios_II)... |         * Soft cores: [Nios II](https://en.wikipedia.org/wiki/Nios_II)... | ||||||
|   | |||||||
| @@ -7,13 +7,13 @@ cd "$(dirname "$0")/../.." | |||||||
| VERSION="$1" | VERSION="$1" | ||||||
| DATE=$(date +%F) | DATE=$(date +%F) | ||||||
| TAG="v$VERSION" | TAG="v$VERSION" | ||||||
| VERSION_REGEX="[0-9a-z\\.\\-]+" | VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+(-[a-z0-9]+)?' | ||||||
|  |  | ||||||
| update_version_in_source () { | update_version_in_source () { | ||||||
| 	IFS=".-" read MAJOR MINOR REVISION EXTRA < <(echo "$VERSION") | 	IFS=".-" read MAJOR MINOR REVISION EXTRA < <(echo "$VERSION") | ||||||
| 	UNDERLINE=$(printf -- '-%.0s' $(seq 1 ${#TAG})) | 	UNDERLINE=$(printf -- '-%.0s' $(seq 1 ${#TAG})) | ||||||
|  |  | ||||||
| 	sed -i~ -bE "s/version=$VERSION_REGEX/version=$VERSION/; s|ardu-badge.com/ArduinoJson/$VERSION_REGEX|ardu-badge.com/ArduinoJson/$VERSION|; " README.md | 	sed -i~ -bE "1,20{s/$VERSION_REGEX/$VERSION/g}" README.md | ||||||
| 	rm README.md~ | 	rm README.md~ | ||||||
|  |  | ||||||
| 	sed -i~ -bE "4s/HEAD/$TAG ($DATE)/; 5s/-+/$UNDERLINE/" CHANGELOG.md | 	sed -i~ -bE "4s/HEAD/$TAG ($DATE)/; 5s/-+/$UNDERLINE/" CHANGELOG.md | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user