Skip to content

Commit af306b2

Browse files
authored
Add the version into unity purl (#198)
Signed-off-by: jiyeong.seok <[email protected]>
1 parent a5e4baf commit af306b2

File tree

1 file changed

+2
-0
lines changed
  • src/fosslight_dependency/package_manager

1 file changed

+2
-0
lines changed

src/fosslight_dependency/package_manager/Unity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def parse_oss_information(self, f_name):
8484
purl = get_url_to_purl(dn_loc, self.package_manager_name)
8585
if purl == 'None':
8686
purl = ''
87+
if purl != '':
88+
purl = f'{purl}@{oss_version}'
8789

8890
comment_list = []
8991
if self.direct_dep:

0 commit comments

Comments
 (0)