Skip to content

Commit

Permalink
Don't publish the SBOM (#1785)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Apr 11, 2023
1 parent 3dd054e commit 535dd99
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,6 @@ jobs:
echo "Skipping publish for branch $(Build.SourceBranchName)"
exit 1
# Generate and publish the SBOM

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 📒 Generate Manifest
inputs:
BuildDropPath: $(System.DefaultWorkingDirectory)

- task: PublishPipelineArtifact@1
displayName: 📒 Publish Manifest
inputs:
artifactName: SBom-RNGithubNpmJSPublish-$(System.JobAttempt)
targetPath: $(System.DefaultWorkingDirectory)/_manifest

# Set the NPM dist-tag and do the actual NPM publish

- bash: echo "##vso[task.setvariable variable=npmDistTag]latest"
Expand Down Expand Up @@ -108,6 +95,19 @@ jobs:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
githubAuthToken: $(githubAuthToken)
condition: and(succeeded(), ne(variables['Build.SourceBranchName'], 'main'))

# Generate and publish the SBOM

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 📒 Generate Manifest
inputs:
BuildDropPath: $(System.DefaultWorkingDirectory)

- task: PublishPipelineArtifact@1
displayName: 📒 Publish Manifest
inputs:
artifactName: SBom-RNGithubNpmJSPublish-$(System.JobAttempt)
targetPath: $(System.DefaultWorkingDirectory)/_manifest


- job: RNMacOSInitNpmJSPublish
Expand Down

0 comments on commit 535dd99

Please sign in to comment.