Transition build between profiles

I have looked around and have not seen any documentation on transitioning a build to another profile. Not sure if this is possible, or makes sense, but I feel like it be sensible to transition a build from dev → staging → prod and not have to rebuild for each profile.

this is not possible because the binaries produced by each are fundamentally different. the configuration that you use for the build cannot be changed without rebuilding.