Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Create Annotated Tag
Create Annotated Tag

Create Annotated Tag

imsherlock01

|
137 installs
| (0) | Free
Create an annotated tag from azure devops build\release pipeline.
Get it free

Create Annotated Tag (Azure DevOps Extension)

Azure DevOps task to create a tag on Azure DevOps repo commit from azure devops build\release pipeline.

Details

When creating a build package or releasing it to an environment, the task will create a tag on commit id of your source code.

Prerequisites

  • Windows \ Hosted agent.
  • Repository must be VSTS Git.
  • Allow scripts to access Oauth must be Enabled or Pass PAT value to the Task.
  • Project Collection Build Service or PAT must have Contribute & Create Tag set to Allow or Inherit Allow for that particular repository

How it works

It Utilizes the Azure DevOps Rest API to call the "Annotated Tags - Create" method. Creates the tag based on environment variables from the build\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). To pass PAT as authentication, you need to check the check box "Use Personal Access Token(PAT)?" then new textbox will be displayed to fill the PAT value.

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.

Release notes

  • 0.0.3 - Initial release.
  • 0.0.4 - Added Task "Update Variable-Group Variable"

Contribute

Please feel free to provide any bug details, suggestions, improvments and features you would like to see added to the extension.

Email : imsherlock01@gmail.com

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