mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docs: protect and unprotect the stable branch on releasing
This commit is contained in:
parent
419021e82f
commit
4b0cff0253
@ -51,6 +51,7 @@ for first beta releases
|
||||
* Check diff by `git diff`
|
||||
* `git commit -am 'Bump version'`
|
||||
* `git push origin master`
|
||||
* open https://github.com/sphinx-doc/sphinx/settings/branches and make ``X.Y`` branch protected
|
||||
* Update `sphinx-doc-translations <https://github.com/sphinx-doc/sphinx-doc-translations>`_
|
||||
* Add new version/milestone to tracker categories
|
||||
* Write announcement and send to sphinx-dev, sphinx-users and python-announce
|
||||
@ -103,6 +104,7 @@ for major releases
|
||||
* `git checkout master`
|
||||
* `git merge X.Y`
|
||||
* `git push origin master`
|
||||
* open https://github.com/sphinx-doc/sphinx/settings/branches and make ``A.B`` branch *not* protected
|
||||
* `git checkout A.B` (checkout old stable)
|
||||
* Run `git tag A.B` to paste a tag instead branch
|
||||
* Run `git push origin :A.B --tags` to remove old stable branch
|
||||
|
Loading…
Reference in New Issue
Block a user