Skip to content

chore: release 0.10.0 (#217) #41

chore: release 0.10.0 (#217)

chore: release 0.10.0 (#217) #41

name: release-please
on:
push:
branches:
- master
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: python
package-name: snakefmt
bump-minor-pre-major: true
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-python@v5
if: ${{ steps.release.outputs.release_created }}
with:
python-version: "3.11"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: make install-ci
- name: Build a binary wheel and a source tarball
if: ${{ steps.release.outputs.release_created }}
run: make build
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}