Skip to content

Commit abc2561

Browse files
authored
Merge pull request #13 from blackducksoftware/dev
v1.0.13 - image license file - version fix
2 parents 6dc0ecd + cdd0929 commit abc2561

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Synopsys Scan Yocto Script - bd_scan_yocto_via_sbom.py v1.0.12
1+
# Synopsys Scan Yocto Script - bd_scan_yocto_via_sbom.py v1.0.13
22

33
# PROVISION OF THIS SCRIPT
44
This script is provided under the MIT license (see LICENSE file).

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bd_scan_yocto_via_sbom"
7-
version = "1.0.12"
7+
version = "1.0.13"
88
authors = [
99
{ name="Matthew Brady", email="[email protected]" },
1010
]

yocto_import_sbom/BBClass.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ def process_licman_file(lic_manifest_file, reclist):
208208
line = line.strip()
209209
if line.startswith("PACKAGE VERSION:"):
210210
ver = line.split(': ')[1]
211+
elif line.startswith("VERSION:"):
212+
ver = line.split(': ')[1]
211213
elif line.startswith("RECIPE NAME:"):
212214
recipe = line.split(': ')[1]
213215

yocto_import_sbom/ConfigClass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __init__(self):
144144
else:
145145
logging.basicConfig(level=loglevel)
146146

147-
logging.info("Black Duck Yocto scan via SBOM utility - v1.0.12")
147+
logging.info("Black Duck Yocto scan via SBOM utility - v1.0.13")
148148
logging.info("SUPPLIED ARGUMENTS:")
149149
for arg in vars(args):
150150
logging.info(f"--{arg}={getattr(args, arg)}")

0 commit comments

Comments
 (0)