       }
       else
       {
-        char installedRelease[8];
+        char installedRelease[releaseLength];
+
         uint8_t i = 0;
         while ( ( sketchVersion[i] != '-' ) && ( i < sizeof( installedRelease ) ) )
         {
           installedRelease[i] = sketchVersion[i];
           i++;
         }
+
+        ESP_LOGI( TAG, "Local release: '%s'", installedRelease );
         strncpy( newRelease, root["tag_name"], sizeof( newRelease ) );
-        ESP_LOGI( TAG, "Local Version: '%s'", installedRelease );
-
-        if ( strcmp ( installedRelease, newRelease) < 0 )
+        if ( strcmp ( installedRelease, newRelease) != 0 )
         {
           newReleaseFound = true;
-          ESP_LOGI( TAG, "Found new version: '%s'", newRelease );
         }
-        else
-        {
-          ESP_LOGI( TAG, "No new version found.");
-        }
+        ESP_LOGI( TAG, "%s new release was found: '%s'", ( newReleaseFound == true ) ? "A" : "No", newRelease );
       }
     }
     else

/* https://github.com/espressif/arduino-esp32/issues/846 */

char newRelease[8];
bool newReleaseFound = false;

void versionCheck ( void * pvParameters )

    http.begin( latestReleaseAPI, github_root_ca );
    uint8_t httpCode = http.GET();

    if ( httpCode == 200 )
    {
      const size_t capacity = 2200;
