Skip to content

Shivay1983/azuredevops-extension-tag-git-release

 
 

Repository files navigation

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.

About

Create an annotated git tag in the release pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%