At work we recently switched to using Team Foundation Server with a ‘proper’ branch/merge strategy. We also have improved our build process so that although it’s still a partly manual process, a document leads you through the process, and the process is repeatable as all the build scripts are source controlled and each build starts from a know starting point (VM with pre-reqs and build software).
Until very recently the builds were always run against ‘Main’, but we’ve now got a production branch, and I’ve been asked to modify the build scripts to get the source from the production branch rather than Main. To do this properly I think I need to do the following:
- In the production branch modify the source controlled build scripts to point to the correct source location.
- Create a copy of the build instructions specifically for this branch that say where to get the build scripts from (production branch)
To allow builds from Main and any Production branches both the document and the build scripts need to be branched.