Skip to content

Commit

Permalink
update semantic version too (#4924)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiloKo authored May 7, 2024
1 parent daf559a commit d6f3ba1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/abap/aakaas/productVersionHeader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit d6f3ba1

Please sign in to comment.