1,190
edits
Strangerke (talk | contribs) |
Strangerke (talk | contribs) |
||
Line 2: | Line 2: | ||
''This is work in progress and needs to be completed!'' | ''This is work in progress and needs to be completed!'' | ||
All examples are based on 1.7 and 1.7.0 version. Don't forget to adapt with the adequate version. | |||
Line 10: | Line 11: | ||
=== Branching for major release === | === Branching for major release === | ||
* Create a branch for the 1.7.x releases from master, named branch-1-7 | * Create a branch for the 1.7.x releases from master, named branch-1-7 | ||
** <code>git checkout -b branch-1-7 master</code> | ** <code>git checkout -b branch-1-7 master</code> | ||
Line 67: | Line 67: | ||
=== Branching for minor releases === | === Branching for minor releases === | ||
* Create a branch for 1.7.0 from branch-1-7, named branch-1-7-0 | * Create a branch for 1.7.0 from branch-1-7, named branch-1-7-0 | ||
** <code>git checkout -b branch-1-7-0 branch-1-7</code> | ** <code>git checkout -b branch-1-7-0 branch-1-7</code> | ||
Line 123: | Line 122: | ||
=== Tagging a version === | === Tagging a version === | ||
* When 1.7.0 is ready to be announced, make a permanent v1.7.0 tag in git to mark the release | * When 1.7.0 is ready to be announced, make a permanent v1.7.0 tag in git to mark the release | ||
** <code>git checkout branch-1-7-0</code> | ** <code>git checkout branch-1-7-0</code> |