diff --git a/src/controllers/VersionController.php b/src/controllers/VersionController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/VersionController.php
+++ b/src/controllers/VersionController.php
@@ -34,7 +34,7 @@ class VersionController extends FileController
     {
         $v = trim($this->exec('git', ['log', '-n', '1', '--pretty=%ai %H %s'])[0]);
         list($date, $time, $zone, $hash, $commit) = explode(' ', $v, 5);
-        if ($commit !== 'version bump to ' . $this->version) {
+        if (!in_array($commit, ['minor', 'version bump to ' . $this->version])) {
             if ($hash !== $this->hash) {
                 $this->version = 'dev';
             }
slightly improved `version` file handling