Skip to content

Commit

Permalink
Merge pull request #54 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 b624ce9 + e4b5b6a commit 31245ce
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-zip',
version='0.0.62',
version='0.0.0.dev0',
author='Department for International Trade',
author_email='[email protected]',
description='Python function to construct a ZIP archive with stream processing - without having to store the entire ZIP in memory or disk',
Expand Down

0 comments on commit 31245ce

Please sign in to comment.