mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 02:31:53 +00:00
Meta.pm: add version support for non-vcs modules
git-svn-id: https://svn.fhem.de/fhem/trunk@19650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0d17346085
commit
32424a97a7
@ -3243,6 +3243,14 @@ sub __SetXVersion {
|
||||
);
|
||||
}
|
||||
|
||||
# from META.json only
|
||||
elsif ( $modMeta->{x_file}[7] eq 'META.json' )
|
||||
{
|
||||
$modMeta->{x_version} =
|
||||
$modMeta->{x_file}[2] . ':'
|
||||
. version->parse( $modMeta->{version} )->normal;
|
||||
}
|
||||
|
||||
# Generate generic version to fill the gap
|
||||
elsif ( $modMeta->{x_file}[7] eq 'generated/blank' ) {
|
||||
$modMeta->{x_version} = $modMeta->{x_file}[2] . ':?';
|
||||
@ -3294,7 +3302,7 @@ sub __SetXVersion {
|
||||
"abstract": "FHEM Entwickler Paket, um Metadaten Unterstützung zu aktivieren"
|
||||
}
|
||||
},
|
||||
"version": "v0.6.3",
|
||||
"version": "v0.6.4",
|
||||
"release_status": "testing",
|
||||
"x_changelog": {
|
||||
"2019-04-18": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user