-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8206a6
commit 6954029
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: "[email protected]" | ||
# approvers: "[email protected]" | ||
# - 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: "[email protected]" | ||
approvers: "[email protected]" | ||
- 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 |