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:
Garrett Campbell 2024-04-03 13:03:43 -04:00 коммит произвёл GitHub
Родитель 73ac9596be
Коммит 2e2e4454e5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -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