Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ on:
types: [created]

jobs:
deploy:

pypi-publish:
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/cjio
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Check-out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -22,10 +26,5 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

### Removed:
- Support for extended metadata: specifically the commands `metadata_create` and `metadata_update`
- All API functionality is derecated: cjio.models and some functions from cjio.cityjson have been removed. Also all related tests.
- All API functionality is deprecated: cjio.models and some functions from cjio.cityjson have been removed. Also all related tests.


## [0.9.0] – 2023-09-28
Expand Down