|
|
(59 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
− | == Release a new version of D ==
| + | #REDIRECT [[DIP75]] |
− | | |
− | The master branch in git contains a version in stabilization. This version will be the next release of D. When it is judged stabilized enough to be released, a branch is created for this new release. The name of the branch is D2.N+1, where N is the previous version of D2 .
| |
− | | |
− | <nowiki>git checkout master
| |
− | git branch 2.N+1
| |
− | git checkout 2.N+1</nowiki>
| |
− | | |
− | Then, a tag is created.
| |
− | | |
− | git tag 2.N+1.0
| |
− | | |
− | Packaging is done as usual based on the content of the tag.
| |
− | | |
− | == Release a revision of a released version of D ==
| |
− | | |
− | A revision can be published on an already released version of D. Revision include bug fixes, but no new feature. We supposed bug fixes has been included into branch 2.N where N is the released version of D we want to update. M is the last revision number that have been published.
| |
− | | |
− | git checkout 2.N
| |
− | git tag 2.N.M+1
| |
− | | |
− | Packaging is done as usual based on the content of the tag.
| |