diff --git a/src/ToolbarHandler.php b/src/ToolbarHandler.php
index d3363db..5eb68fa 100644
--- a/src/ToolbarHandler.php
+++ b/src/ToolbarHandler.php
@@ -200,7 +200,7 @@ class ToolbarHandler implements ContainerInjectionInterface {
   }
 
   /**
-   * Retrieve the current release from the state or deployment_identifier.
+   * Retrieve the current release from the state or current Drupal version.
    *
    * @return string|null
    */
@@ -210,9 +210,9 @@ class ToolbarHandler implements ContainerInjectionInterface {
       return (string) $current_release;
     }
 
-    $deployment_identifier = $this->settings->get('deployment_identifier');
-    if ($deployment_identifier !== NULL) {
-      return (string) $deployment_identifier;
+    $drupal_version = \Drupal::VERSION;
+    if ($drupal_version !== NULL) {
+      return (string) $drupal_version;
     }
 
     return NULL;