Skip to content

Commit 9284f79

Browse files
authored
Merge pull request #1106 from xylar/fix-release-docs
Fix docs for release candidates
2 parents 0cae268 + 76a037e commit 9284f79

File tree

1 file changed

+46
-33
lines changed

1 file changed

+46
-33
lines changed

docs/developers_guide/releasing.rst

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,17 @@ Version Bump and Dependency Updates
3131

3232
- ``dev-spec.txt`` (development dependencies; should be a superset)
3333

34-
- Use the GitHub "Compare" feature to check for dependency changes between releases:
34+
- Use the GitHub "Compare" feature to check for dependency changes between
35+
releases:
3536
https://github.com/MPAS-Dev/MPAS-Analysis/compare
3637

3738
3. **Make a PR and merge it**
3839

3940
- Open a PR for the version bump and dependency changes and merge once
4041
approved.
4142

42-
Tagging and Publishing a Release
43-
================================
43+
Tagging and Publishing a Release Candidate
44+
==========================================
4445

4546
4. **Tagging a Release Candidate**
4647

@@ -66,11 +67,46 @@ Tagging and Publishing a Release
6667
**Note:** This will only create a tag. No release page will be created
6768
on GitHub.
6869

69-
5. **Publishing a Stable Release**
70+
5. **Updating the conda-forge Feedstock for a Release Candidate**
71+
72+
- The conda-forge feedstock does **not** update automatically for release
73+
candidates.
74+
- You must always create a PR manually, and it must target the ``dev``
75+
branch of the feedstock.
76+
77+
Steps:
78+
79+
- Download the release tarball:
80+
81+
::
82+
83+
wget https://github.com/MPAS-Dev/MPAS-Analysis/archive/refs/tags/<version>.tar.gz
84+
85+
- Compute the SHA256 checksum:
86+
87+
::
88+
89+
shasum -a 256 <version>.tar.gz
90+
91+
- In the ``meta.yaml`` of the feedstock recipe:
92+
- Set ``{% set version = "<version>" %}``
93+
- Set the new ``sha256`` value
94+
- Update dependencies if needed
95+
96+
- Commit, push to a new branch, and open a PR **against the ``dev`` branch**
97+
of the feedstock:
98+
https://github.com/conda-forge/mpas-analysis-feedstock
99+
100+
- Follow any instructions in the PR template and merge once approved
101+
102+
Releasing a Stable Version
103+
==========================
104+
105+
6. **Publishing a Stable Release**
70106

71107
- For stable releases, create a GitHub release page as follows:
72108

73-
- Go to https://github.com/MPAS-Dev/pyremap/releases
109+
- Go to https://github.com/MPAS-Dev/MPAS-Analysis/releases
74110

75111
- Click "Draft a new release"
76112

@@ -83,10 +119,7 @@ Tagging and Publishing a Release
83119

84120
- Click "Publish release"
85121

86-
Updating the conda-forge Feedstock
87-
==================================
88-
89-
6. **Automatic Feedstock Update (Preferred Method)**
122+
7. **Updating the conda-forge Feedstock for a Stable Release**
90123

91124
- Wait for the ``regro-cf-autotick-bot`` to open a PR at:
92125
https://github.com/conda-forge/mpas-analysis-feedstock
@@ -97,34 +130,14 @@ Updating the conda-forge Feedstock
97130
- Confirm the version bump and dependency changes
98131
- Merge once CI checks pass
99132

100-
**Note:** If you are impatient, you can accellerate this process by creating
133+
**Note:** If you are impatient, you can accelerate this process by creating
101134
a bot issue at: https://github.com/conda-forge/mpas-analysis-feedstock/issues
102135
with the subject ``@conda-forge-admin, please update version``. This
103136
will open a new PR with the version within a few minutes.
104137

105-
7. **Manual Feedstock Update (Fallback Method)**
106-
107-
If the bot PR does not appear or is too slow, update manually:
108-
109-
- Download the release tarball:
110-
111-
::
112-
113-
wget https://github.com/MPAS-Dev/MPAS-Analysis/archive/refs/tags/<version>.tar.gz
114-
115-
- Compute the SHA256 checksum:
116-
117-
::
118-
119-
shasum -a 256 <version>.tar.gz
120-
121-
- In the ``meta.yaml`` of the feedstock recipe:
122-
- Set ``{% set version = "<version>" %}``
123-
- Set the new ``sha256`` value
124-
- Update dependencies if needed
125-
126-
- Commit, push to a new branch, and open a PR against the feedstock
127-
- Follow any instructions in the PR template and merge once approved
138+
- If the bot PR does not appear or is too slow, you may update manually (see
139+
the manual steps for release candidates above, but target the ``main``
140+
branch of the feedstock).
128141

129142
Post Release Actions
130143
====================

0 commit comments

Comments
 (0)