Skip to content

Commit

Permalink
Make sbom generation optional (#9337)
Browse files Browse the repository at this point in the history
  • Loading branch information
epananth authored May 11, 2022
1 parent 666b83f commit e062206
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
<!--
Before pack create the SBOM here
-->
<Target Name ="GenerateSbomForVSInsertion">
<PropertyGroup>
<GenerateSbom Condition="'$(GenerateSbom)' == ''">false</GenerateSbom>
</PropertyGroup>

<Target Name ="GenerateSbomForVSInsertion"
Condition="'$(GenerateSbom)' != 'false'">
<Message Text="Generating SBOM manifest" Importance="high"/>
<ItemGroup>
<VsixFile Include="$(ArtifactsDir)VSSetup\$(Configuration)\Insertion\*.vsix"></VsixFile>
Expand Down

0 comments on commit e062206

Please sign in to comment.