Create Annotated Tag (Azure DevOps Extension)Azure DevOps task to create a tag on Azure DevOps repo commit from azure devops build\release pipeline. DetailsWhen creating a build package or releasing it to an environment, the task will create a tag on commit id of your source code. Prerequisites
How it worksIt 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. NoteEnabling "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
ContributePlease feel free to provide any bug details, suggestions, improvments and features you would like to see added to the extension. Email : imsherlock01@gmail.com |