From dfce30787698cd70595d4ee0cca862c9c4364a8a Mon Sep 17 00:00:00 2001 From: Konstantinos Tsitsimpikos Date: Wed, 11 Dec 2024 15:51:54 -0500 Subject: [PATCH] Manual trigger for releasing to pypi (#22) --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b52d6d..ff93538 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,15 @@ name: Release on: - release: - types: [ 'published' ] + workflow_dispatch: + inputs: + tag: + description: 'The tag version to release (e.g., v1.0.0)' + required: true + default: 'v0.1.0alpha' + environment: + description: 'PyPI environment to release to (test or production)' + required: true + default: 'test' jobs: pypi-publish: