First check if the package have a special branch for this release. For example it could have a special branch for his packaging
All those operations have to be made onto branch your are making package for eg: 1.2-fixes each one of them inside a ticket with the label release and with a MR
eg: 1.0.9.2-fixes
- First check the the control file contains the latest version, if not
For jessie
- dch -v version_number-1
- dch -r (to change en released)
For wheezy
- dch -c debian/changelog.wheezy -v version_number-1
- dch -r -c debian/changelog.wheezy (to change en released)
Commit your changes
In this case follow the instruction below
-
Merge the branch into master
- git checkout master
- git merge --no-ff name_of_your_branch
- git tag -a fusiondirectory-version : commit message "Debian packages for FusionDirectory 1.0.8.x"
- git push
- git push --tags
-
Remove branch that we just merged
- git branch -d name_of_your_branch
- git push origin :name_of_your_branch
-
Create the new fixes branch from master
- git branch name_of_your_branch-fixes
- git checkout name_of_your_branch-fixes
-
push the new created branch to remote depot
- git push origin name_of_your_branch-fixes