79353793

Date: 2025-01-14 01:30:49
Score: 1.5
Natty:
Report link

This works on my side:

steps:
  - checkout: self
    persistCredentials: true

  # Rest of the pipeline

  - script: |
      git config --global user.name "BuildService"
      git config --global user.email "[email protected]"
      git tag "Build_$(Build.BuildNumber)"
      git push origin --tags
    workingDirectory: '$(Build.Repository.LocalPath)'

Running Git commands inside Azure DevOps pipeline

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Robin