Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gh-actions PyPI publishing automation #64

Merged
merged 6 commits into from Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
@@ -1,6 +1,6 @@
name: Publish Python distributions to PyPI and TestPyPI

on:
on:
release:
types: [published]

Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:

# Publish a tagged version on PyPI for non-release candidates
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags') && ! contains(github.ref, 'rc')
if: "startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'rc')"
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
6 changes: 5 additions & 1 deletion CHANGELOG.rst
@@ -1,9 +1,13 @@
Release Notes
*************

1.1.1 (2020-12-15)
~~~~~~~~~~~~~~~~~~~~~
* Patch to fix the github actions publish automation `#64 <https://github.com/eWaterCycle/era5cli/pull/64>`_

1.1.0 (2020-12-14)
~~~~~~~~~~~~~~~~~~~~~
* The 1.1.0 era5cli minor release.
* The stable 1.1.0 era5cli minor release.
* Add support for ERA5 preliminary back extension `#58 <https://github.com/eWaterCycle/era5cli/pull/58>`_
* Update tests `#57 <https://github.com/eWaterCycle/era5cli/pull/57>`_
* Add automated PyPI package building and publishing with github Actions `#62 <https://github.com/eWaterCycle/era5cli/pull/62>`_
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Expand Up @@ -54,4 +54,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.1.0
version: 1.1.1
2 changes: 1 addition & 1 deletion era5cli/__version__.py
Expand Up @@ -10,4 +10,4 @@
'Niels Drost', 'Fakhereh Alidoost', 'Bouwe Andela',
'Jerom Aerts', 'Berend Weel', 'Rolf Hut', 'Klaus Zimmermann')
__email__ = 'ewatercycle@esciencecenter.nl'
__version__ = '1.1.0'
__version__ = '1.1.1'