Skip to content

Commit

Permalink
Automate the release process with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprengere committed Jun 14, 2021
1 parent d0cb2f1 commit 289a8dd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,19 @@ jobs:
name: dist
path: dist
- run: twine check dist/*

dist_upload:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
needs: [dist_check]
name: PyPI upload
steps:
- uses: actions/download-artifact@v2
with:
name: dist
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All notable changes to `flask-compress` will be documented in this file.

## 1.10 (development)

- Improve GitHub Actions
- Automate the release process with GitHub Actions
- Use `setuptools_scm` to manage package versions
- The layout is now an actual package rather than a single module
- Use `setuptools_scm` to manage packaging
- Clean up unused files

## 1.9.0 (2021-02-12)
Expand Down

0 comments on commit 289a8dd

Please sign in to comment.