Skip to content

Commit

Permalink
update contribution guidelines and prepare for v1.3.1 (#106)
Browse files Browse the repository at this point in the history
* add info about release candidate

* more release candidate info

* update version number

* update changelog

* add dash to version tag

Co-authored-by: Stefan Verhoeven <[email protected]>

* remove RSD

Co-authored-by: Stefan Verhoeven <[email protected]>

* consistently use release candidate

Co-authored-by: Stefan Verhoeven <[email protected]>

Co-authored-by: Stefan Verhoeven <[email protected]>
  • Loading branch information
bvreede and sverhoeven committed Dec 1, 2021
1 parent db2f4ca commit 5ddf104
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Release Notes
*************

1.3.1 (2021-12-01)
~~~~~~~~~~~~~~~~~~
* Automatic Zenodo/RSD release failed; updated contribution guidelines `#106 <https://github.com/eWaterCycle/era5cli/pull/106>`_

1.3.0 (2021-11-30)
~~~~~~~~~~~~~~~~~~
* Fix compatibility with changed CDS variables geopotential/orography `#98 <https://github.com/eWaterCycle/era5cli/pull/98>`_
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ license: Apache-2.0
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/ewatercycle/era5cli"
title: era5cli
version: 1.3.0
version: 1.3.1
23 changes: 16 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Ensure all authors are present in:
- `era5cli/__version__.py`

## Confirm release info
Ensure the right date and upcoming version number is set in:
Ensure the right date and upcoming version number (including release candidate
tag, if applicable) is set in:

- `CITATION.cff`
- `era5cli/__version__.py`
Expand All @@ -35,17 +36,25 @@ that the description is in Markdown, so reformat from Rst if necessary).
Tag the release according to [semantic versioning
guidelines](https://semver.org/), preceded with a `v` (e.g.: v1.0.0). The
release title is the tag and the release date together (e.g.: v1.0.0
(2019-07-25)). Tick the pre-release box in case the release is a candidate
release, and amend the version tag with `rc` and the candidate number.
(2019-07-25)).

### Release candidate
When releasing a release candidate on Github, tick the pre-release box, and
amend the version tag with `-rc` and the candidate number. Ensure the release
candidate version is accurate in `CITATION.cff` and `era5cli/__version__.py`.
If the version number in these files is not updated, Zenodo release
workflows will fail.

Releasing a release candidate is not required, but can help detect bugs early.

## PyPI release workflow
Publishing a new release in github triggers the github Action workflow that
builds and publishes the package to test.PyPI or PyPI. Versions with "rc"
(releasecandidate) in their version tag will only be published to test.PyPI.
Other version tags will trigger a PyPI release.
Inspect `.github/workflows/publish-to-pypi.yml` for more information.
(release candidate) in their version tag will only be published to test.PyPI.
Other version tags will trigger a PyPI release. Inspect
`.github/workflows/publish-to-pypi.yml` for more information.

Confirm a pre-release on test.PyPI with:
Confirm a release candidate on test.PyPI with:
```
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ era5cli
```
Expand Down
2 changes: 1 addition & 1 deletion era5cli/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
'Peter Kalverla', 'Barbara Vreede', 'Aytaç Paçal', 'Stef Smeets',
'Stefan Verhoeven')
__email__ = '[email protected]'
__version__ = '1.3.0'
__version__ = '1.3.1'

0 comments on commit 5ddf104

Please sign in to comment.