Push commit version
This commit is contained in:
Родитель
6541efff63
Коммит
488ec77358
|
@ -123,6 +123,18 @@ jobs:
|
|||
displayName: 'Publish Artifacts'
|
||||
inputs:
|
||||
ArtifactName: Release
|
||||
|
||||
- bash: |
|
||||
mkdir -p $(Build.ArtifactStagingDirectory)/Info
|
||||
echo $BUILD_SOURCEVERSION
|
||||
echo $BUILD_SOURCEVERSION > $(Build.ArtifactStagingDirectory)/Info/COMMIT
|
||||
displayName: 'Collect Version Information'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Version Information'
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Info'
|
||||
ArtifactName: Info
|
||||
|
||||
- template: analyze-and-test-template.yml
|
||||
parameters:
|
||||
|
|
Загрузка…
Ссылка в новой задаче