Skip to content

Commit

Permalink
Updating commitid in nav and pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbour committed Jul 3, 2019
1 parent f65e9b5 commit ba12b34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Expand Up @@ -50,8 +50,7 @@ stages:

- script: |
SHORTCOMMITID=$(echo $(sourceVersion) | cut -c1-7)
echo '##vso[task.setvariable variable=shortCommitId]$SHORTCOMMITID'
sed -i 's/#COMMIT_ID#/$(shortCommitId)/g' _includes/nav.html
sed -i "s/#COMMIT_ID#/$SHORTCOMMITID/g" _includes/nav.html
displayName: Update site with Commit ID
- task: Docker@2
Expand Down

0 comments on commit ba12b34

Please sign in to comment.