Skip to content

Commit

Permalink
Add entry to HISTORY.md for version 1.5.1 (#86)
Browse files Browse the repository at this point in the history
* Add entry to HISTORY.md for version 1.5.1
* Bump version to 1.5.1 in pyproject.toml
* Move publish to PyPI to last step of publish workflow
  • Loading branch information
Joseph authored Jun 16, 2020
1 parent 279d172 commit 03fee4c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ jobs:
ls \ # check tag matches package version
dist/gsfpy-${{ steps.tag.outputs.tag }}.tar.gz \
dist/gsfpy-${{ steps.tag.outputs.tag }}-py3-none-any.whl
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
make release
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -57,3 +52,8 @@ jobs:
asset_path: dist/gsfpy-${{ steps.tag.outputs.tag }}.tar.gz
asset_name: gsfpy-${{ steps.tag.outputs.tag }}.tar.gz
asset_content_type: application/gzip
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
make release
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# History

## 1.5.1 (2020-06-16)
- First automated release on PyPI.

## 1.5.0 (2020-06-15)
- First release on PyPI.
- First manual release on PyPI.
2 changes: 1 addition & 1 deletion gsfpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = """UK Hydrographic Office"""
__email__ = "[email protected]"
__version__ = "1.5.0"
__version__ = "1.5.1"

from ctypes import byref, c_int
from os import fsencode
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gsfpy"
version = "1.5.0"
version = "1.5.1"
authors = [
"UK Hydrographic Office <[email protected]>"
]
Expand Down

0 comments on commit 03fee4c

Please sign in to comment.