From aace5b51efbc10e6908c7e6242de6c1264dee7a6 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 25 Aug 2022 17:10:40 +0200 Subject: [PATCH] pyln: Adjust the auto-publish task to trigger on tags I was wondering why the workflow never published, turns out we were triggering on branch pushes only, not tags. So the branch would get pushed, but the tag is pushed afterwards, and thus not triggering. --- .github/workflows/pypi.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b6c0bd1f1..6fbed25ab 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -5,6 +5,11 @@ on: push: branches: - master + tags: + # Semantic versioning tags + - 'v[0-9]+.[0-9]+.[0-9]+' + # Date style tags + - 'v[0-9]{2}.[0-9]{2}' jobs: deploy: name: Build and publish ${{ matrix.package }} 🐍