Skip to content

Commit 21dad38

Browse files
Update docs on releasing (#124)
1 parent afd2339 commit 21dad38

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/project_maintenance.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,25 @@ This page covers tips for project maintenance.
99
Releasing a New Version
1010
-----------------------
1111

12-
1. Add updates to HISTORY.rst
13-
2. Checkout the latest ``main`` branch.
14-
3. Checkout a branch with the name of the version.
12+
1. Checkout the latest ``main`` branch.
13+
2. Checkout a branch with the name of the version.
1514

1615
::
1716

1817
# Prepend "v" to <version>
1918
# For release candidates, append "rc" to <version>
20-
git checkout -b v<version> -t origin/<version>
19+
git checkout -b v<version>
20+
git push --set-upstream origin v<version>
2121

22-
4. Bump version using tbump.
22+
3. Bump version using tbump.
2323

2424
::
2525

2626
# Exclude "v" and <version> should match step 2
2727
# --no-tag is required since tagging is handled in step 5.
2828
tbump <version> --no-tag
2929

30+
4. Add updates to ``HISTORY.rst``
3031
5. Create a pull request to the main repo and merge it.
3132
6. Create a GitHub release.
3233
7. Open a PR to the xcdat conda-forge feedstock with the latest changes.

0 commit comments

Comments
 (0)