Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Tag Git on Release
Tag Git on Release

Tag Git on Release

Chris Liquori

|
1,421 installs
| (5) | Free
Create an annotated git tag in the release pipeline
Get it free

Tag Git on Release (Azure DevOps Extension)

Azure DevOps task to tag a git commit in the release pipeline.

Details

When releasing to an environment, the task will tag the commit id of your source code.

How it works

Utilizes the Azure DevOps Rest API to call the annotated tagging method. Creates the tag based on environment variables from the release pipeline.

Authentication is handled by either using an OAuth token, which utilizes the built-in System.Accesstoken variable in Azure DevOps or Person Access Token (PAT). Adding a PAT can be found under the "Advanced" drop down in the task options.

Note

Enabling "Allow scripts to access the OAuth token" can be found under the "Agent Job/Phase" section of the selected stage. If using Azure yaml pipelines, System.AccessToken will be activated when calling the task, no action is needed.

Contribute

Please feel free to make suggestions, improvments, and features you would like to see added to the extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft