Skip to content

Commit 8ff476e

Browse files
committed
fix: publish with bomFormat extension
No test yet, we probably want to revisit this in the future anyway (e.g. to allow publishing both formats at the same time)
1 parent dfce9ff commit 8ff476e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/github/sbt/sbom/BomSbtPlugin.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object BomSbtPlugin extends AutoPlugin {
9191
.value,
9292
bomConfigurations := Def.taskDyn(BomSbtSettings.bomConfigurationTask((configuration ?).value)).value,
9393
packagedArtifacts += {
94-
Artifact(artifact.value.name, "cyclonedx", "xml", "cyclonedx") -> makeBom.value
94+
Artifact(artifact.value.name, "cyclonedx", bomFormat.value, "cyclonedx") -> makeBom.value
9595
},
9696
)
9797
}

0 commit comments

Comments
 (0)