When shipping code for an upcoming release, we're responsible for creating release branches (and closing previous ones) for any of the following repos with new code changes:
- peak
- legistarweb
- chronus
- atreyu
We use git flow to manage our branches around releases, so be sure to set it up and read through the docs here if you don't already have it.
- Before cutting new release branches, make sure all open release/hotfix branches are closed.
You can tell by looking at the releases page on [Github] (https://github.com/Granicus/peak/releases). There should be a release entry and a corresponding tag for the prior release. (You can also look in the active branches on the repo to see if a release branch still exists).
- If you see an old release branch on github that isn't finished, you'll have to go ahead and do that before starting a new one.
git checkout develop && git pullgit checkout master && git pullgit checkout release/previous_release_branchgit flow release finish release/previous_release_branch
(when you do release finish you'll have to do a few :wqs for commiting the merge of the branches. One of them is creating the release tag. Make sure that tag matches the release name like 20180209)
Then you'll have to push up the tags, so from develop:
git pushgit push --tagsgit checkout master && git push
- Now open new release branch from
develop
git checkout develop && git pullgit flow release start 20180309(YYYYMMDD)
- Publish release branch
git flow release publish