Skip to content

Commit

Permalink
📝 Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobronium committed May 9, 2021
1 parent 0d01a40 commit 3cd327e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ jobs:
needs: test
if: "success() && startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
env:
CHANGELOG_FILE: ${{ github.workflow }}-changelog.md
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -105,15 +103,15 @@ jobs:
run: poetry-dynamic-versioning

- name: Generate Changelog
run: python tools/get_changes.py ${{ github.ref }} > $CHANGELOG_FILE
run: python tools/get_changes.py ${{ github.ref }} > changelog.txt

- name: Upload to pypi
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: $CHANGELOG_FILE
body_path: changelog.txt
files: |
dist/parametrize-*-.tar.gz
dist/parametrize-*-.whl
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
## v0.1.1
* Add the readme to PyPi :memo:

## v0.1.0
* First release :tada:
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.0.0"
description = "Drop-in @pytest.mark.parametrize replacement working with unittest.TestCase"
authors = ["MrMrRobat <[email protected]>"]
license = "MIT"
readme = "readme.md"
repository = "https://github.com/MrMrRobat/parametrize/"
classifiers = [
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit 3cd327e

Please sign in to comment.