From 8c7f0544582acd68759931ba665114ea94732a08 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Wed, 19 May 2021 15:31:50 +0100 Subject: [PATCH] Do release on tag on GH release --- .github/workflows/publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2ad12332..41a2eee4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,13 @@ name: Publish on: - release: - types: - - published + push: + # Pattern matched against refs/tags + tags: + - 'v*' # Push events to every tag not containing / + tags-ignore: + - 'v*dev*' # Ignore dev tags + env: # The name of the python package after install