Skip to content

Commit 0bacf4c

Browse files
authored
.
1 parent ce4bb26 commit 0bacf4c

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

docs/Developers/How-to-release/index.rst

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,24 @@ Step 1: Define the Version Name
1010
- **X** = 3 (this keeps the main version number consistent to sort releases and maintain `xmipp3`).
1111
- **YY** = Year of the release.
1212
- **ZZ** = Month of the release.
13-
- Additionally, name the release after a Greek god or goddess. Check out the list at: https://www.gods-and-monsters.com/list-of-greek-gods-goddesses.html
13+
- Additionally, name the release after a Greek god or goddess. `Check out the list <https://www.gods-and-monsters.com/list-of-greek-gods-goddesses.html>`__
1414
- Example: `3.24.06 - Boreas` (for a June 2024 release).
1515

16+
17+
1618
Step 2: Update the `changelog.md`
1719
----------------------------------
18-
1. Go through the changes in:
20+
1. Go through the changes in CHANGELOG.md file:
1921
- **xmipp** (includes `xmippcore`).
2022
- **scipion-em-xmipp**.
2123
- **xmippViz**.
22-
2. Follow the format used in previous releases.
24+
2. Follow the tittle format used in previous releases.
2325
- This is crucial because the release automation uses these tags.
2426
3. Use pull requests as a reference to identify changes and describe them clearly.
2527

2628
Step 3: Schedule the Release
2729
----------------------------
30+
- Announce at least **two weeks in advance** that no new changes will be merged into `devel`. This stabilization period helps identify potential bugs in the `devel` branch.
2831
- Prepare all steps in advance.
2932
- Post the release at the **start of your workday** to address any issues promptly.
3033

@@ -39,62 +42,54 @@ Step 5: Update Protocol Status
3942
- Set to **PROD**, **NEW**, or **UPDATED** if applicable.
4043
- Consider deprecating protocols no longer in use or supported.
4144

42-
Step 6: Announce the Release Freeze
43-
------------------------------------
44-
- Announce at least **two weeks in advance** that no new changes will be merged into `devel`.
45-
- This stabilization period helps identify potential bugs in the `devel` branch.
4645

47-
Step 7: Create Candidate Branches
46+
Step 6: Create Candidate Branches
4847
----------------------------------
4948
- Name the release branches according to the release version (e.g., `release-3.24.06`).
5049

51-
Step 8: Update Version Information
50+
Step 7: Update Version Information
5251
-----------------------------------
5352
1. **In Xmipp**:
54-
- Update the name, version, and release date in:
55-
`https://github.com/I2PC/xmipp/blob/e72e2e9ea0ae824f60ded8b1f00b404d2c99d4d9/installer/constants/versions.py#L31`
53+
- Update the name, version, and release date in `here <https://github.com/I2PC/xmipp/blob/e72e2e9ea0ae824f60ded8b1f00b404d2c99d4d9/installer/constants/versions.py#L31>`__
5654

5755
2. **In scipion-em-xmipp**:
58-
- Change the `devel` variable to `release` in:
59-
`https://github.com/I2PC/scipion-em-xmipp/blob/9881da0c6cdec69517e26fc025500d4940d44d0e/xmipp3/version.py#L28`
56+
- Change the `devel` variable to `release` in `here <https://github.com/I2PC/scipion-em-xmipp/blob/9881da0c6cdec69517e26fc025500d4940d44d0e/xmipp3/version.py#L28>`__
6057
- Update `_current_xmipp_tag` and `_currentBinVersion` accordingly.
6158

62-
Step 9: Validate Release Branches Locally
59+
Step 8: Validate Release Branches Locally
6360
------------------------------------------
6461
- Check out the release branches locally or on a test machine.
6562
- Verify:
6663
- Installation with and without Scipion.
6764
- Execution of a few tests.
6865

69-
Step 10: Create Pull Requests
66+
Step 9: Create Pull Requests
7067
------------------------------
7168
- Open four pull requests:
7269
- **Release to master** for each relevant repository.
7370

74-
Step 11: Document Changes
71+
Step 10: Document Changes
7572
--------------------------
76-
- Compile a list of changed files, lines added, and other details from the PRs.
77-
- Document this in the Xmipp monitoring file.
73+
- Compile a list of changed files, lines added, and other details from the PRs. Document this in the Xmipp monitoring file.
7874

79-
Step 12: Merge the Pull Requests
75+
Step 11: Merge the Pull Requests
8076
---------------------------------
8177
- Merge the four PRs.
8278
- This triggers the creation of release tags on GitHub.
83-
- In **scipion-em-xmipp**, it will also upload the package to PyPI.
84-
- Note: This is the most critical step to revert if issues arise.
79+
- In **scipion-em-xmipp**, it will also upload the package to PyPI. Note: This is the most critical step to revert if issues arise.
8580

86-
Step 13: Announce the Release
81+
Step 12: Announce the Release
8782
------------------------------
8883
- Share the release news via:
8984
- Email lists.
9085
- Discord.
9186
- Any other relevant platforms.
9287

93-
Step 14: Consider XmippTomo
88+
Step 13: Consider XmippTomo
9489
----------------------------
9590
- Evaluate whether **XmippTomo** needs a corresponding release.
9691

97-
Step 15: PR from Release to Devel
92+
Step 14: PR from Release to Devel
9893
----------------------------------
9994
- Create a pull request from `release` back to `devel`.
10095
- Revert the tags for `release` and `devel` in:

0 commit comments

Comments
 (0)