Verify changelog (#3489)

* bump keys version to 7.3

* Revert "bump keys version to 7.3"

This reverts commit e348e966de56f28996b4cb32104088b4414559ed.

* bump keys version to 7.3

* Revert "bump keys version to 7.3"

This reverts commit e348e966de56f28996b4cb32104088b4414559ed.

* add ps1

* dsd

* test2

* update paths

* package info

* conditional

* remove extra spaces

* missing paran
This commit is contained in:
George Arama 2022-03-31 11:24:24 -07:00 committed by GitHub
parent 75d0d74486
commit b7a79158d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,6 +195,18 @@ jobs:
sourceFolder: build/sdk/${{ parameters.ServiceDirectory }}/${{ artifact.Path }}/docs/html
targetFolder: $(Build.ArtifactStagingDirectory)/docs/${{ artifact.Name }}
displayName: Copy documentation to artifact staging directory
- task: Powershell@2
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/scripts/Verify-ChangeLog.ps1
arguments: >
-ChangeLogLocation sdk/${{ parameters.ServiceDirectory }}/${{ artifact.Path }}/CHANGELOG.md
-VersionString (Get-Content build/sdk/${{ parameters.ServiceDirectory }}/${{ artifact.Path }}/docs/html/package-info.json | ConvertFrom-Json).version
-ForRelease $true
pwsh: true
displayName: Verify CHANGELOG.md contents
continueOnError: true
condition: and(succeeded(), eq(variables['VerifyChangeLogForRelease'], 'true'))
- task: PublishPipelineArtifact@1
inputs: