This Azure DevOps extension allows for the creation of Azure DevOps build and release pipeline tasks to run PowerShell Invoke-Build tasks.
This project requires NPM.
It also requires Invoke-Build:
Install-Module -Scope 'CurrentUser' -Repository 'PSGallery' -Name 'InvokeBuild' -MinimumVersion 5.4.1You will also need version 4 of GitVersion:
choco install GitVersion.Portable --version=4.0.0Invoke-Build -File .\build\build.ps1 -Task BuildInvoke-Build -File .\build\build.ps1 -Task PublishExtension -VssPublisherPAT $VssPublisherPATConfigure a YAML Build and use build/AzDo_Build.yaml
- Set VssPublisherPAT secure variable with the Visual Studio Marketplace PAT of the publisher.
- Create the rest of the pipeline (to-do)
To release a new version, create a new tag from master, then build and publish.