Skip to content

bump: 7.0.9

bump: 7.0.9 #58

Workflow file for this run

name: release
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: trim21/setup-poetry@dist/v2
- run: poetry publish --build
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
- name: Generate Changelog
id: changelog
uses: requarks/[email protected]
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: false
restrictToTypes: feat,fix,revert
- name: Upload Github Release
run: gh release create "${GITHUB_REF}" --notes "${CHANGELOG}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHANGELOG: "${{ steps.changelog.outputs.changes }}"