I want to publishsome branches on certain dates automatically to master.
How best to do this?
Thank you
Asks
Jutta
Hello Jutta and welcome to the Community!
Automatically merging a branch may sound like a good idea, as long as there are no conflicts or issues with the merge all should be well. While using git you should be present when you merge your branch back, you most certainly can script your git cmd to merge this for you. You will need to set up a Windows scheduled task or a Linux CRON job to execute the script when ready.
I was able to find a script that someone developed for auto releasing your code. (Please note this code has not been tested or confirmed in a working state by use, this is mainly used as a reference). You can review what they’ve done and created your own script to merge your branch when ready. You may find this sample script at A script to automate the merging of release branches.
I hope this proves helpful and you’re able to auto-merge your branches when you need.
Regards,
Stephen Sifers
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.