mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fix version-check of composer.json (was not considering packaging)
This commit is contained in:
parent
968b2ab219
commit
1e35e80219
@ -1186,9 +1186,9 @@ function do_copy()
|
||||
{
|
||||
throw new Exception("Can NOT read $path to verify version!");
|
||||
}
|
||||
if ($json['version'] !== $config['version'])
|
||||
if ($json['version'] !== $config['version'].'.'.$config['packaging'])
|
||||
{
|
||||
throw new Exception("Version in composer.json does not match: '$json[version]' !== '$config[version] --> aborting!");
|
||||
throw new Exception("Version in composer.json does not match: '$json[version]' !== '$config[version].$config[packaging] --> aborting!");
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user