Skip to content

Commit

Permalink
Try the whole pipeline again
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft committed Mar 27, 2024
1 parent e8206a6 commit 6954029
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions azure-pipelines/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,33 @@ jobs:
echo "##vso[task.setvariable variable=Version]${BASH_REMATCH[3]}"
echo "##vso[task.setvariable variable=TarballPath]$TarballPath"
echo "##vso[task.setvariable variable=TarballFolder]$(dirname "$TarballPath")"
echo "Found tarball folder \"$(dirname "$TarballPath")\""
echo "Found tarball \"$(basename "$TarballPath")\" in folder \"$(dirname "$TarballPath")\""
else
echo "Failed to parse tarball path \"$TarballPath\""
exit 1
fi
workingDirectory: $(System.DefaultWorkingDirectory)
# - template: azure-pipelines/MicroBuild.Publish.yml@MicroBuildTemplate
# parameters:
# intent: "PackageDistribution"
# contentType: "npm"
# contentSource: "Folder"
# folderLocation: "$(System.DefaultWorkingDirectory)/$(TarballFolder)"
# waitForReleaseCompletion: true
# owners: "jinglou@microsoft.com"
# approvers: "bwater@microsoft.com"
# - task: GitHubRelease@1
# displayName: "GitHub release (create)"
# inputs:
# gitHubConnection: "GitHub-AzureTools"
# tagSource: userSpecifiedTag
# tag: "${{ parameters.PackageToPublish }}-v$(Version)"
# title: "${{ parameters.PackageToPublish }} v$(Version)"
# releaseNotesSource: inline
# assets: "$(System.DefaultWorkingDirectory)/$(TarballPath)"
# isDraft: true
# isPreRelease: true
# addChangeLog: false
- template: azure-pipelines/MicroBuild.Publish.yml@MicroBuildTemplate
parameters:
intent: "PackageDistribution"
contentType: "npm"
contentSource: "Folder"
folderLocation: "$(System.DefaultWorkingDirectory)/$(TarballFolder)"
waitForReleaseCompletion: true
owners: "jinglou@microsoft.com"
approvers: "bwater@microsoft.com"
- task: GitHubRelease@1
displayName: "GitHub release (create)"
inputs:
gitHubConnection: "GitHub-AzureTools"
tagSource: userSpecifiedTag
tag: "${{ parameters.PackageToPublish }}-v$(Version)"
title: "${{ parameters.PackageToPublish }} v$(Version)"
releaseNotesSource: inline
assets: "$(System.DefaultWorkingDirectory)/$(TarballPath)"
isDraft: true
isPreRelease: true
addChangeLog: false
variables:
skipComponentGovernanceDetection: true # The release pipeline does not need CG detection since the primary build pipeline has it
Codeql.Enabled: false # Disable CodeQL because it is not needed for NPM release

0 comments on commit 6954029

Please sign in to comment.