-
Notifications
You must be signed in to change notification settings - Fork 0
git release procedure
Eirik Csák Knutsen edited this page Nov 18, 2015
·
2 revisions
Steps are as follows:
- Create a release branch from
develop
, namedrelease-<version>
- Build release branch
- Run through all available tests
- Perform any fixes directly on the release branch
- Repeat the two steps above until release is ready
- Tag version file
- Merge the release branch into
master
- Tag
master
with version number - Make a PR from release branch to
develop
- After PR is merged, delete release branch
git checkout develop
git pull
git checkout -b release-1.0 develop
Build and make sure everything works (run through test procedure).
Apply any fixes in separate commits on the release branch.
git checkout master
git merge --no-ff release-1.0 -m 'Release version 1.0'
git commit
git push
This will result in a merge commit on the master branch.
git tag -a 1.0 -m 'Release version 1.0' master
git push --tags
git checkout develop
git merge release-1.0
git commit
git push
Changes in release branch must be merged into develop branch
Wait until the eventual PR is merged before performing this step.
git branch -d release-1.0
Delete it in Github to delete it in the main repository.
Create a release document with list of new features.