olabusayoT commented on code in PR #17:
URL: 
https://github.com/apache/daffodil-infrastructure/pull/17#discussion_r2361193551


##########
actions/release-candidate/src/main.js:
##########
@@ -114,7 +114,10 @@ async function run() {
                fs.appendFileSync(`${ sbt_dir }/plugins/build.sbt`, 
'addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")\n');
                fs.appendFileSync(`${ sbt_dir }/build.sbt`, `pgpSigningKey := 
Some("${ gpg_signing_key_id }")\n`);
 
-               if (publish) {
+        // enable SBT for publishing SBOM
+        fs.appendFileSync(`${ sbt_dir }/plugins/build.sbt`, 
'addSbtPlugin("com.github.sbt" %% "sbt-sbom" % "0.4.0")\n');

Review Comment:
   I tried it and couldn't get it to work. I tried both the plain bomFormat and 
ThisBuild / bomFormat and neither worked. Only doing "set every bomFormat" 
seemed to work



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to