Skip to content

Commit

Permalink
fix: publish with bomFormat extension
Browse files Browse the repository at this point in the history
No test yet, we probably want to revisit this in the future anyway (e.g.
to allow publishing both formats at the same time)
  • Loading branch information
raboof committed Jan 14, 2025
1 parent dfce9ff commit 8ff476e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/github/sbt/sbom/BomSbtPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object BomSbtPlugin extends AutoPlugin {
.value,
bomConfigurations := Def.taskDyn(BomSbtSettings.bomConfigurationTask((configuration ?).value)).value,
packagedArtifacts += {
Artifact(artifact.value.name, "cyclonedx", "xml", "cyclonedx") -> makeBom.value
Artifact(artifact.value.name, "cyclonedx", bomFormat.value, "cyclonedx") -> makeBom.value
},
)
}
Expand Down

0 comments on commit 8ff476e

Please sign in to comment.