-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(golangBuild): pinversion of cyclonedx #4368
Conversation
cmd/golangBuild.go
Outdated
@@ -570,7 +570,7 @@ func lookupGolangPrivateModulesRepositories(goModFile *modfile.File, globPattern | |||
} | |||
|
|||
func runBOMCreation(utils golangBuildUtils, outputFilename string) error { | |||
if err := utils.RunExecutable("cyclonedx-gomod", "mod", "-licenses", "-test", "-output", outputFilename); err != nil { | |||
if err := utils.RunExecutable("cyclonedx-gomod", "mod", "-licenses", "-test", "-output", outputFilename, "-ouput-version", "1.4"); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a typo here ouput-version
It should be "output-version"
@Jk1484 , could you please also test changes before marking it for review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please also test changes before marking it for review?
That would be great since there are people using this :(
1451021
to
610096e
Compare
@Jk1484, I think unit tests should be fixed/updated. |
Kudos, SonarCloud Quality Gate passed! |
/it-go |
* output version pin for cyclonedx * test fix --------- Co-authored-by: Vyacheslav Starostin <[email protected]>
Changes
Pin output version of cyclonedx to 1.4