Skip to content

chore(main): release 8.5.2 (#2720) #9

chore(main): release 8.5.2 (#2720)

chore(main): release 8.5.2 (#2720) #9

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: python
package-name: snakemake
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- name: Set up Python
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Build and check package
if: ${{ steps.release.outputs.release_created }}
run: |
python -m pip install --upgrade pip
pip install build twine
python -m build
twine check --strict dist/*
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Publish to Registry
if: ${{ steps.release.outputs.release_created }}
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: snakemake/snakemake
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
tags: "v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }},stable"