Skip to content

Commit 1314aef

Browse files
Update RELEASE.md checklist w/ command to set NEXTVERSION
1 parent 1900f03 commit 1314aef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

RELEASE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
heeding the Versioning Strategy (see
33
https://ncas-cms.github.io/cf-python/releases.html#versioning-strategy).
44

5+
* Set the `NEXTVERSION` version marker across the codebase (added in PRs
6+
to mark the next version where the exact number/name is not yet decided)
7+
by recursively finding all occurences within the `cf` directory and replacing
8+
them with the upcoming version name `X.Y.Z` (replace `X`, `Y` and `Z` with
9+
appropriate numbers), via running this command in `cf-python` repo root
10+
directory (don't run it repo-wide or it will e.g. edit this script!):
11+
12+
```console
13+
$ find cf/ -type f | xargs sed -i 's/NEXTVERSION/X.Y.Z/g'
14+
```
15+
516
* Change the version and date in `cf/__init__.py` (`__version__` and
617
`__date__` variables)
718

0 commit comments

Comments
 (0)