Skip to content

Commit

Permalink
Merge pull request #50 from uktrade/feat/automate_github_release
Browse files Browse the repository at this point in the history
feat: automate github release while skipping commit step
  • Loading branch information
JosefSmith authored Jun 21, 2023
2 parents be616af + 64862f8 commit 5f9f101
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
with:
python-version: 3.11

- name: Update version in pyproject.toml from current git tag
run: >-
sed -i "s/0\\.0\\.0\\.dev0/${GITHUB_REF/refs\/tags\/v/}/g" setup.py
- run: |
pip install build
python -m build
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def long_description():

setuptools.setup(
name='stream-unzip',
version='0.0.86',
version='0.0.0.dev0',
author='Department for International Trade',
author_email='sre@digital.trade.gov.uk',
description='Python function to stream unzip all the files in a ZIP archive, without loading the entire ZIP file into memory or any of its uncompressed files',
Expand Down

0 comments on commit 5f9f101

Please sign in to comment.