Question for CI/CD people out there. I'm using VSTS to automate our CI/CD story. Within our code repo we're using git flow, which means code moves from feature branches into our develop branch. When preparing a release, a specific release branch is created and eventually the code is merged to master for the current release.
Now what I'm wondering is how to facilitate this in a release pipeline within VSTS. Specifically the difference in the develop and master branches in combination with a release. What I found is that a release starts with specific artifacts so is thereby also tied to the build/branch where those artifacts originate from. As I see it, that would mean that if we want to do a daily deployment from the development branch but a more manual timed deployment from the master branch to acceptance and production environment, we would need two release definitions?
I'm really looking for some best practices on this topic and things that other people have already found out how to best build this pipeline. I found this topic already, but that doesn't give me what I'm looking for: Setup GitFlow in VSTS - Best practices?