update release pipeline to ensure that notice file is verified (#3677)
* update release pipeline to ensure that changelog is verified * add notice and changelog * update comment * remove bracket
This commit is contained in:
Родитель
73ac9596be
Коммит
2e2e4454e5
|
@ -29,6 +29,8 @@ name: $(Date:yyyyMMdd).$(Rev:r)
|
|||
variables:
|
||||
IsPreRelease: 0
|
||||
# ReleaseVersion is set in the versions tab so it can be edited.
|
||||
# VerifyNotice is set in the versions tab so it can be edited.
|
||||
# VerifyChangelog is set in the versions tab so it can be edited.
|
||||
TeamName: C++ Cross Platform and Cloud
|
||||
# If the user didn't override the signing type, then only real-sign on main.
|
||||
${{ if ne(parameters.SignTypeOverride, 'default') }}:
|
||||
|
@ -74,4 +76,24 @@ extends:
|
|||
exit /B 1
|
||||
)
|
||||
exit /b 0
|
||||
- task: CmdLine@2
|
||||
displayName: Check VerifyNotice
|
||||
inputs:
|
||||
script: |
|
||||
@echo off
|
||||
if "$(VerifyNotice)"=="no" (
|
||||
echo ^"VerifyNotice^" was not set. Set to 'yes' once the NOTICE.txt is confirmed to be up-to-date.
|
||||
exit /B 1
|
||||
)
|
||||
exit /b 0
|
||||
- task: CmdLine@2
|
||||
displayName: Check VerifyChangelog
|
||||
inputs:
|
||||
script: |
|
||||
@echo off
|
||||
if "$(VerifyChangelog)"=="no" (
|
||||
echo ^"VerifyChangelog^" was not set. Set to 'yes' once the CHANGELOG is confirmed to be up-to-date.
|
||||
exit /B 1
|
||||
)
|
||||
exit /b 0
|
||||
- template: /jobs/shared/build.yml@self
|
Загрузка…
Ссылка в новой задаче