Skip to content

Commit

Permalink
Update release guide, Dask CalVer uses YYYY.MM.DD (#236)
Browse files Browse the repository at this point in the history
Dask calendar versioning uses the format `YYYY.MM.DD` (and not `YY.MM.DD`)
  • Loading branch information
GenevieveBuckley committed May 28, 2021
1 parent aeff4d1 commit 90cec19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/release/release_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ Determining the new version number

We use `calendar versioning (CalVer) <https://calver.org/>`_
for `dask-image`. This means version numbers have the format
`YY.MM.DD`.
`YYYY.MM.DD`.

`Versioneer <https://github.com/warner/python-versioneer>`_
then determines the exact version from the latest
`git tag <https://git-scm.com/book/en/v2/Git-Basics-Tagging>`_
beginning with `v`. So our git tags will have the format `vYY.MM.DD`.
beginning with `v`. So our git tags will have the format `vYYYY.MM.DD`.


Generate the release notes
Expand Down Expand Up @@ -88,7 +88,7 @@ including all changes since the last tagged release.

.. code-block:: bash
python docs/release/generate_release_notes.py v21.05.24 main --version 21.06.03
python docs/release/generate_release_notes.py v2021.05.24 main --version 2021.06.03
See help for this script with:
Expand Down Expand Up @@ -116,7 +116,7 @@ Go to the dask-image releases page: https://github.com/dask/dask-image/releases

Click the "Draft Release" button to create a new release candidate.

- Both the tag version and release title should have the format ``vYY.MM.DDrc1``.
- Both the tag version and release title should have the format ``vYYYY.MM.DDrc1``.
- Copy-paste the release notes from ``HISTORY.rst`` for this release into the
description text box.

Expand All @@ -142,7 +142,7 @@ in order to isolate dependencies.

If the release candidate is not what you want, make your changes and
repeat the process from the beginning but
incrementing the number after ``rc`` (e.g. ``vYY.MM.DDrc1``).
incrementing the number after ``rc`` (e.g. ``vYYYY.MM.DDrc1``).

Once you are satisfied with the release candidate it is time to generate
the actual release.
Expand Down

0 comments on commit 90cec19

Please sign in to comment.