Skip to content

Commit

Permalink
change version number for 1.1.1 release candidate and remove test ste…
Browse files Browse the repository at this point in the history
…p from github actions workflow
  • Loading branch information
JaroCamphuijsen committed Dec 15, 2020
1 parent aa1c51c commit ae9796c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 21 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish Python distributions to PyPI and TestPyPI

on: push
# release:
# types: [published]
on:
release:
types: [published]


jobs:
Expand Down Expand Up @@ -32,25 +32,17 @@ jobs:
--wheel
--outdir dist/
# test
# Publish the package to test.pypi for every tagged version
- name: Publish distribution to Test PyPI
if: "contains(github.ref, 'gh-actions') && !contains(github.ref, 'rc')"
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: http://test.pypi.org/legacy/

# # Publish the package to test.pypi for every tagged version
# - name: Publish distribution to Test PyPI
# if: startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.test_pypi_password }}
# repository_url: http://test.pypi.org/legacy/

# # 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')"
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.pypi_password }}
# 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')"
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
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.1.1rc1 (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 stable 1.1.0 era5cli minor release.
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
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.1rc1
2 changes: 1 addition & 1 deletion era5cli/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
'Niels Drost', 'Fakhereh Alidoost', 'Bouwe Andela',
'Jerom Aerts', 'Berend Weel', 'Rolf Hut', 'Klaus Zimmermann')
__email__ = '[email protected]'
__version__ = '1.1.0'
__version__ = '1.1.1rc1'

0 comments on commit ae9796c

Please sign in to comment.