You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1713,6 +1731,13 @@ function check_library_properties() {
1713
1731
if [[ $checkFolderNameExitStatus-ne$ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS ]];then
1714
1732
echo"WARNING: ${normalizedLibraryPropertiesPath}/library.properties: Name value $nameValue does not meet the requirements of the Arduino Library Manager indexer. See: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format"
1715
1733
fi
1734
+
1735
+
# Check if the library.properties name value starts with "arduino" (case-insensitive)
1736
+
check_library_properties_name "$nameValue"
1737
+
local checkLibraryPropertiesNameExitStatus=$?
1738
+
if [[ "$checkLibraryPropertiesNameExitStatus"=="$ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_NAME_RESERVED_NAME_EXIT_STATUS" ]];then
1739
+
echo"WARNING: ${normalizedLibraryPropertiesPath}/library.properties: name value: $nameValue starts with \"arduino\". These names are reserved for official Arduino libraries. Libraries using a reserved name will not be accepted in the Library Manager index."
# Check if the library.properties name value starts with "arduino" (case-insensitive)
2355
+
check_library_properties_name "$nameValue"
2356
+
local checkLibraryPropertiesNameExitStatus=$?
2357
+
if [[ "$checkLibraryPropertiesNameExitStatus"=="$ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_NAME_RESERVED_NAME_EXIT_STATUS" ]];then
2358
+
echo"ERROR: ${normalizedLibraryPath}/library.properties: name value: $nameValue starts with \"arduino\". These names are reserved for official Arduino libraries."
0 commit comments