@cyclonedx/cdxgen 8.1.6 → 8.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4306,10 +4306,10 @@ exports.submitBom = async (args, bomContents) => {
|
|
|
4306
4306
|
if (encodedBomContents.startsWith("77u/")) {
|
|
4307
4307
|
encodedBomContents = encodedBomContents.substring(4);
|
|
4308
4308
|
}
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4309
|
+
let projectVersion = args.projectVersion || "master";
|
|
4310
|
+
if (projectVersion == true) {
|
|
4311
|
+
projectVersion = "master";
|
|
4312
|
+
}
|
|
4313
4313
|
const bomPayload = {
|
|
4314
4314
|
project: args.projectId,
|
|
4315
4315
|
projectName: args.projectName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyclonedx/cdxgen",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.7",
|
|
4
4
|
"description": "Creates CycloneDX Software Bill-of-Materials (SBOM) from source or container image",
|
|
5
5
|
"homepage": "http://github.com/cyclonedx/cdxgen",
|
|
6
6
|
"author": "Prabhu Subramanian <prabhu@appthreat.com>",
|