Skip to content

Commit

Permalink
ci: add pypi publish script
Browse files Browse the repository at this point in the history
CHANGES: update changes for 0.4.8 for adding log entries
bump to 0.4.8
  • Loading branch information
ikreymer committed Feb 24, 2023
1 parent d12d449 commit af3bed7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to PYPI
on:
release:
types: [published]

jobs:
pypi-release:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]

steps:
- name: checkout
uses: actions/checkout@v1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install --upgrade pip wheel twine

- name: Build Dist
run: python setup.py sdist bdist_wheel

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# 0.4.8

- Add -l/--log-directory option to add logs directory to WACZ

# 0.4.7

- include request cookie in cdxj via 'req.http:cookie' field (#27)
- fix Click dependency version
- Add -l/--log-directory option to add logs directory to WACZ

# 0.4.6

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vim: set sw=4 et:
from setuptools import setup, find_packages

__version__ = "0.4.7"
__version__ = "0.4.8"


def load_requirements(filename):
Expand Down

0 comments on commit af3bed7

Please sign in to comment.