Skip to content

Commit

Permalink
feat(spec1-5): add support for lifecycles
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Dec 7, 2023
1 parent 745a35a commit b02255f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ func (b *BOM) convert(specVersion SpecVersion) {
b.Metadata.Lifecycles = nil
}

if specVersion < SpecVersion1_5 {
b.Metadata.Lifecycles = nil
}

recurseComponent(b.Metadata.Component, componentConverter(specVersion))
convertLicenses(b.Metadata.Licenses, specVersion)
if b.Metadata.Tools != nil {
Expand Down

0 comments on commit b02255f

Please sign in to comment.