mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-10 10:50:11 +02:00
update semantic version too (#4924)
This commit is contained in:
parent
daf559a8ca
commit
d6f3ba1b02
@ -122,6 +122,7 @@ func (pv *ProductVersionHeader) SyncAddonDescriptorVersionFields(addonDescriptor
|
||||
addonDescriptor.AddonVersion = pv.ProductVersion
|
||||
addonDescriptor.AddonSpsLevel = pv.SpsLevel
|
||||
addonDescriptor.AddonPatchLevel = pv.PatchLevel
|
||||
addonDescriptor.AddonVersionYAML = pv.SemanticProductVersion //In case it had wildCards which got resolved
|
||||
|
||||
//in NewPvh function pvh was build up 1:1 based on addonDescriptor
|
||||
//in checkAndResolve pvh was synced from AAKaaS reply assuming it does not contain more content than before(if it does it is ignored)
|
||||
@ -141,6 +142,7 @@ func (pv *ProductVersionHeader) SyncAddonDescriptorVersionFields(addonDescriptor
|
||||
addonDescriptor.Repositories[repo_index].PatchLevel = foundPvc.PatchLevel
|
||||
addonDescriptor.Repositories[repo_index].SpLevel = foundPvc.SpLevel
|
||||
addonDescriptor.Repositories[repo_index].Version = foundPvc.SoftwareComponentVersion
|
||||
addonDescriptor.Repositories[repo_index].VersionYAML = foundPvc.SemanticSoftwareComponentVersion //In case it had wildCards which got resolved
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user