diff --git a/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php b/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
+++ b/src/ContaoCommunityAlliance/Composer/Plugin/Plugin.php
@@ -237,7 +237,7 @@ class Plugin
 			static::getContaoRoot($this->composer->getPackage());
 
 			$versionParser = new VersionParser();
-			$prettyVersion = VERSION . (is_numeric(BUILD) ? '.' . BUILD : '-' . BUILD);
+			$prettyVersion = $this->prepareContaoVersion(VERSION, BUILD);
 			$version = $versionParser->normalize($prettyVersion);
 
 			$constraint = new VersionConstraint('==', $version);
Second HOTFIX: handle custom patched Contao Versions properly.