Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -19,7 +19,7 @@ stages:
|
||||
- checkout: self
|
||||
|
||||
- script: |
|
||||
echo "##vso[task.setvariable variable=shortCommitSha]$(Build.SourceVersion.SHA.Substring(0, 8))"
|
||||
echo "##vso[task.setvariable variable=shortCommitSha]$(echo $(Build.SourceVersion) | cut -c1-8)"
|
||||
displayName: 'Set Short Commit SHA'
|
||||
|
||||
- script: |
|
||||
|
||||
Reference in New Issue
Block a user