Skip to content

Commit 535dd99

Browse files
authored
Don't publish the SBOM (#1785)
1 parent 3dd054e commit 535dd99

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.ado/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,6 @@ jobs:
6161
echo "Skipping publish for branch $(Build.SourceBranchName)"
6262
exit 1
6363
64-
# Generate and publish the SBOM
65-
66-
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
67-
displayName: 📒 Generate Manifest
68-
inputs:
69-
BuildDropPath: $(System.DefaultWorkingDirectory)
70-
71-
- task: PublishPipelineArtifact@1
72-
displayName: 📒 Publish Manifest
73-
inputs:
74-
artifactName: SBom-RNGithubNpmJSPublish-$(System.JobAttempt)
75-
targetPath: $(System.DefaultWorkingDirectory)/_manifest
76-
7764
# Set the NPM dist-tag and do the actual NPM publish
7865

7966
- bash: echo "##vso[task.setvariable variable=npmDistTag]latest"
@@ -108,6 +95,19 @@ jobs:
10895
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
10996
githubAuthToken: $(githubAuthToken)
11097
condition: and(succeeded(), ne(variables['Build.SourceBranchName'], 'main'))
98+
99+
# Generate and publish the SBOM
100+
101+
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
102+
displayName: 📒 Generate Manifest
103+
inputs:
104+
BuildDropPath: $(System.DefaultWorkingDirectory)
105+
106+
- task: PublishPipelineArtifact@1
107+
displayName: 📒 Publish Manifest
108+
inputs:
109+
artifactName: SBom-RNGithubNpmJSPublish-$(System.JobAttempt)
110+
targetPath: $(System.DefaultWorkingDirectory)/_manifest
111111

112112

113113
- job: RNMacOSInitNpmJSPublish

0 commit comments

Comments
 (0)