Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(scripts): add monorepo-friendly release script #680
Adds a shell script that we can use to cut tags in the main service subdirectories. It doesn't attempt to tag stuff like
It also doesn't push anything to any remotes. I think we should retain the human eyeball factor before pushing tags, building docker images and so on.
I realise that shell scripts aren't everyone's cup of tea so I've commented it liberally, more so than I would normally. If you think I've taken that too far let me know, happy to change it.
There's also a lengthy completion message for users telling them what they need to do next, i.e. check stuff then push.
Note that this script will not work for the first release we want to tag in this repo. The first release requires some extra logic to pull out the old tag for each subdirectory. I have written a separate script for that,