I already have an existing Azure DevOps pipeline
. It gets triggered whenever a new commit is pushed to the corresponding GitHub
repo and does all the ceremony (build, test, etc.).
Now I want to setup the release. A release has to happen whenever a pushed commit is tagged with release-v*
. This should execute the same ceremony as already specified, but finally does a GitHub release.
What is the best way to accomplish this? Do I need to duplicate my pipeline? Can I reuse it?