Skip to content

build(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 (#237) #52

build(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 (#237)

build(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 (#237) #52

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 }}