@@ -13,10 +13,10 @@ upstream https://github.com/pydata/xarray (push)
1313
1414<!-- markdownlint-disable MD031 -->
1515
16- 1 . Ensure your master branch is synced to upstream:
16+ 1 . Ensure your main branch is synced to upstream:
1717 ``` sh
18- git switch master
19- git pull upstream master
18+ git switch main
19+ git pull upstream main
2020 ```
2121 2. Confirm there are no commits on stable that are not yet merged
2222 ([ref](https://github.com/pydata/xarray/pull/4440)):
@@ -44,9 +44,9 @@ upstream https://github.com/pydata/xarray (push)
4444 release.
4545 6. Open a PR with the release summary and whatsnew changes; in particular the
4646 release headline should get feedback from the team on what' s important to include.
47- 7. After merging, again ensure your master branch is synced to upstream:
47+ 7. After merging, again ensure your main branch is synced to upstream:
4848 ```sh
49- git pull upstream master
49+ git pull upstream main
5050 ```
5151 8. If you have any doubts, run the full test suite one final time!
5252 ```sh
@@ -59,12 +59,12 @@ upstream https://github.com/pydata/xarray (push)
595911. This should automatically trigger an upload of the new build to PyPI via GitHub Actions.
6060 Check this has run [here](https://github.com/pydata/xarray/actions/workflows/pypi-release.yaml),
6161 and that the version number you expect is displayed [on PyPI](https://pypi.org/project/xarray/)
62- 12. Update the stable branch (used by ReadTheDocs) and switch back to master :
62+ 12. Update the stable branch (used by ReadTheDocs) and switch back to main :
6363 ```sh
6464 git switch stable
65- git rebase master
65+ git rebase main
6666 git push --force upstream stable
67- git switch master
67+ git switch main
6868 ```
6969 You may need to first fetch it with `git fetch upstream`,
7070 and check out a local version with `git checkout -b stable upstream/stable`.
@@ -103,12 +103,12 @@ upstream https://github.com/pydata/xarray (push)
103103 ~ ~~~~~~~~~~~~~~~
104104
105105 ` ` `
106- 14. Commit your changes and push to master again:
106+ 14. Commit your changes and push to main again:
107107 ` ` ` sh
108108 git commit -am ' New whatsnew section'
109- git push upstream master
109+ git push upstream main
110110 ` ` `
111- You' re done pushing to master !
111+ You' re done pushing to main !
112112
11311315. Update the docs. Login to <https://readthedocs.org/projects/xray/versions/>
114114 and switch your new release tag (at the bottom) from "Inactive" to "Active".
0 commit comments