Describe how you would migrate a legacy, manual release process into a fully automated CI/CD pipeline.