Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ jobs:
TAG: ${{ github.event.release.tag_name }}
run: echo "VERSION=${TAG#v}" >> $GITHUB_OUTPUT

- name: Set the version for publishing
uses: ciiiii/[email protected]
with:
file: "pyproject.toml"
key: "tool.poetry.version"
value: "${{ steps.get_version.outputs.VERSION }}"

- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand Down Expand Up @@ -54,6 +47,7 @@ jobs:
poetry config virtualenvs.create false
poetry export --dev --without-hashes -o requirements.txt
pip install -r requirements.txt
poetry version ${{ steps.get_version.outputs.VERSION }}
poetry install

- name: Publish to PyPI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter-config.yml
Expand Down