mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Changed publish.sh to update the CMake project version
This commit is contained in:
		| @@ -19,6 +19,9 @@ update_version_in_source () { | ||||
| 	sed -i~ -bE "4s/HEAD/$TAG ($DATE)/; 5s/-+/$UNDERLINE/" CHANGELOG.md | ||||
| 	rm CHANGELOG.md*~ | ||||
|  | ||||
| 	sed -i~ -bE "s/(project\\s*\\(ArduinoJson\\s+VERSION\\s+).*?\\)/\\1$MAJOR.$MINOR.$REVISION)/" CMakeLists.txt | ||||
| 	rm CMakeLists.json*~ | ||||
|  | ||||
| 	sed -i~ -bE "s/\"version\":.*$/\"version\": \"$VERSION\",/" library.json | ||||
| 	rm library.json*~ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user