Skip to content

Commit 0cae268

Browse files
authored
Merge pull request #1105 from xylar/fix-releasing
Fix release notes
2 parents a4b9b7b + 91a4210 commit 0cae268

File tree

1 file changed

+49
-14
lines changed

1 file changed

+49
-14
lines changed

docs/developers_guide/releasing.rst

Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Version Bump and Dependency Updates
2626
consistent in:
2727

2828
- ``ci/recipe/meta.yaml`` (for the conda-forge release)
29+
2930
- ``pyproject.toml`` (for PyPI; used for sanity checks)
31+
3032
- ``dev-spec.txt`` (development dependencies; should be a superset)
3133

3234
- Use the GitHub "Compare" feature to check for dependency changes between releases:
@@ -40,23 +42,51 @@ Version Bump and Dependency Updates
4042
Tagging and Publishing a Release
4143
================================
4244

43-
4. **Tag the Release on GitHub**
45+
4. **Tagging a Release Candidate**
46+
47+
- For release candidates, **do not create a GitHub release page**. Just
48+
create a tag from the command line:
49+
50+
- Make sure your changes are merged into ``develop`` or your own update
51+
branch (e.g. ``update-to-1.3.0``) and your local repo is up to date.
52+
53+
- Tag the release candidate (e.g., ``1.3.0rc1``):
54+
55+
::
56+
57+
git checkout develop
58+
git fetch --all -p
59+
git reset --hard origin/develop
60+
git tag 1.3.0rc1
61+
git push origin 1.3.0rc1
62+
63+
(Replace ``1.3.0rc1`` with your actual version, and ``develop`` with
64+
your branch if needed.)
65+
66+
**Note:** This will only create a tag. No release page will be created
67+
on GitHub.
4468

45-
- Go to https://github.com/MPAS-Dev/MPAS-Analysis/releases
46-
- Click "Draft a new release"
47-
- Enter a tag:
48-
- For stable releases: ``1.3.0``
49-
- For release candidates: ``1.3.0rc1``
50-
- Set the release title to the version prefixed with ``v`` (e.g.,
51-
``v1.3.0``)
52-
- Generate or manually write release notes
53-
- Mark as a pre-release if applicable
54-
- Click "Publish release"
69+
5. **Publishing a Stable Release**
70+
71+
- For stable releases, create a GitHub release page as follows:
72+
73+
- Go to https://github.com/MPAS-Dev/pyremap/releases
74+
75+
- Click "Draft a new release"
76+
77+
- Enter a tag (e.g., ``1.3.0``)
78+
79+
- Set the release title to the version prefixed with ``v`` (e.g.,
80+
``v1.3.0``)
81+
82+
- Generate or manually write release notes
83+
84+
- Click "Publish release"
5585

5686
Updating the conda-forge Feedstock
5787
==================================
5888

59-
5. **Automatic Feedstock Update (Preferred Method)**
89+
6. **Automatic Feedstock Update (Preferred Method)**
6090

6191
- Wait for the ``regro-cf-autotick-bot`` to open a PR at:
6292
https://github.com/conda-forge/mpas-analysis-feedstock
@@ -67,7 +97,12 @@ Updating the conda-forge Feedstock
6797
- Confirm the version bump and dependency changes
6898
- Merge once CI checks pass
6999

70-
6. **Manual Feedstock Update (Fallback Method)**
100+
**Note:** If you are impatient, you can accellerate this process by creating
101+
a bot issue at: https://github.com/conda-forge/mpas-analysis-feedstock/issues
102+
with the subject ``@conda-forge-admin, please update version``. This
103+
will open a new PR with the version within a few minutes.
104+
105+
7. **Manual Feedstock Update (Fallback Method)**
71106

72107
If the bot PR does not appear or is too slow, update manually:
73108

@@ -94,7 +129,7 @@ Updating the conda-forge Feedstock
94129
Post Release Actions
95130
====================
96131

97-
7. **Verify and Announce**
132+
8. **Verify and Announce**
98133

99134
- Install the package in a clean environment to test:
100135

0 commit comments

Comments
 (0)