Skip to content

Commit

Permalink
Fix tagging script
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin committed Feb 22, 2020
1 parent e8099f6 commit d5cf6dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipelines/templates/stages/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ stages:
solution: 'src\Solutions\Solutions.cdsproj'
msbuildArgs: '/t:build /p:configuration=${{ parameters.configuration }} /restore'
- powershell: |
echo "Tagging Build: $(BUILD_NUMBER)"
git tag $(BUILD_NUMBER)
git push origin $(BUILD_NUMBER)
echo "Tagging Build: $($env:BUILD_NUMBER)"
git tag $env:BUILD_NUMBER
git push origin $env:BUILD_NUMBER
displayName: 'Tag the build'
env:
BUILD_NUMBER: $(build.buildNumber)
Expand Down

0 comments on commit d5cf6dd

Please sign in to comment.