Difference between revisions of "HOWTO-Release"

Jump to navigation Jump to search
No change in size ,  18:04, 20 January 2023
m
m (Clarify major vs. minor release)
Line 29: Line 29:
*** Lock the component
*** Lock the component
*** Commit pending changes, and push.
*** Commit pending changes, and push.
* Create a branch for the 2.6.x releases from master, named branch-2-6
* Create a branch for the 2.7.x releases from master, named branch-2-7
** <code>git checkout -b branch-2-6 master</code>
** <code>git checkout -b branch-2-7 master</code>
* Increase version on branch-2-6 to 2.6.0pre (using <code>devtools/update-version.pl</code>; see below), and commit
* Increase version on branch-2-7 to 2.7.0pre (using <code>devtools/update-version.pl</code>; see below), and commit
** <code>devtools/update-version.pl 2 6 0 pre</code>
** <code>devtools/update-version.pl 2 7 0 pre</code>
** <code>git commit -m "RELEASE: This is 2.6.0pre" -a</code>
** <code>git commit -m "RELEASE: This is 2.7.0pre" -a</code>
* Create annotated tag desc/2.6.0pre on that commit and push
* Create annotated tag desc/2.7.0pre on that commit and push
** <code>git tag -a -m "Mark 2.6.0pre" desc/2.6.0pre</code>
** <code>git tag -a -m "Mark 2.7.0pre" desc/2.7.0pre</code>
** <code>git push origin tag desc/2.6.0pre branch-2-6:branch-2-6</code>
** <code>git push origin tag desc/2.7.0pre branch-2-7:branch-2-7</code>
* Update doc/docportal/other_platforms/ios.rst to clone the new branch
* Update doc/docportal/other_platforms/ios.rst to clone the new branch
** Change <code>git clone <nowiki>https://github.com/scummvm/scummvm.git</nowiki></code> to <code>git clone --depth 1 -b branch-2-6 <nowiki>https://github.com/scummvm/scummvm.git</nowiki></code>
** Change <code>git clone <nowiki>https://github.com/scummvm/scummvm.git</nowiki></code> to <code>git clone --depth 1 -b branch-2-7 <nowiki>https://github.com/scummvm/scummvm.git</nowiki></code>
** <code>git add doc/docportal/other_platforms/ios.rst</code>
** <code>git add doc/docportal/other_platforms/ios.rst</code>
** <code>git commit -m 'DOC: Update iOS clone command for 2.6 branch'</code>
** <code>git commit -m 'DOC: Update iOS clone command for 2.6 branch'</code>
** <code>git push</code>
** <code>git push</code>
* Increase version on master to 2.7.0git, and commit
* Increase version on master to 2.8.0git, and commit
** <code>git checkout master</code>
** <code>git checkout master</code>
** <code>devtools/update-version.pl 2 7 0 git</code>
** <code>devtools/update-version.pl 2 8 0 git</code>
** <code>git commit -m "RELEASE: This is 2.7.0git" -a</code>
** <code>git commit -m "RELEASE: This is 2.8.0git" -a</code>
* Create annotated tag desc/2.7.0git on that commit and push
* Create annotated tag desc/2.7.0git on that commit and push
** <code>git tag -a -m "Mark 2.7.0git" desc/2.7.0git</code>
** <code>git tag -a -m "Mark 2.8.0git" desc/2.8.0git</code>
** <code>git push origin tag desc/2.7.0git master</code>
** <code>git push origin tag desc/2.8.0git master</code>
* Switch Weblate to the new branch
* Switch Weblate to the new branch
** Go to the component Version control Settings: https://translations.scummvm.org/settings/scummvm/scummvm/#vcs
** Go to the component Version control Settings: https://translations.scummvm.org/settings/scummvm/scummvm/#vcs
329

edits

Navigation menu