Skip to content

Automate the PyPI release #261

Description

@mattip

Rather than manually trigger a PyPI release on the publish workflow, we could automate it so when tags are pushed a release is built and pushed to PyPI, see this comment

name: PyPI/Github Release

on:
  push:
    tags:
      - "v*"

jobs:
  build_wheels:
    runs-on: ${{ matrix.os }}
    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
    strategy:
      matrix:
...

thanks @andyfaff for the idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions