Skip to content

Release version 1.5.0 #22

Release version 1.5.0

Release version 1.5.0 #22

Workflow file for this run

name: nextrelease
on:
push:
branches: [master]
pull_request:
branches: [master]
types: [labeled, unlabeled, edited, synchronize]
jobs:
sync:
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && github.head_ref == 'nextrelease' }}
runs-on: ubuntu-latest
steps:
- uses: dropseed/nextrelease@v2
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.DROPSEED_PYPI_TOKEN }}
with:
prepare_cmd: |
sed -i -e "s/version = \"[^\"]*\"$/version = \"$VERSION\"/g" pyproject.toml
publish_cmd: |
pip3 install -U pip poetry && poetry publish --build --no-interaction
github_token: ${{ secrets.GITHUB_TOKEN }}