From 6503e601228ed130c94bd950d1d639c01a2928a3 Mon Sep 17 00:00:00 2001 From: Daniel Chalef <131175+danielchalef@users.noreply.github.com> Date: Thu, 30 Oct 2025 23:19:05 -0700 Subject: [PATCH] conductor-checkpoint-msg_01BFgirbgmehsEGCMWjgSsnv --- .github/workflows/release-mcp-server.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-mcp-server.yml b/.github/workflows/release-mcp-server.yml index 3ab1e21c..6edaba6f 100644 --- a/.github/workflows/release-mcp-server.yml +++ b/.github/workflows/release-mcp-server.yml @@ -3,6 +3,12 @@ name: Release MCP Server on: push: tags: ["mcp-v*.*.*"] + workflow_dispatch: + inputs: + tag: + description: 'Tag to release (e.g., mcp-v1.0.0)' + required: true + type: string env: REGISTRY: docker.io @@ -43,7 +49,13 @@ jobs: - name: Extract and validate version id: version run: | - TAG_VERSION=${GITHUB_REF#refs/tags/mcp-v} + # Get tag from either push event or manual workflow_dispatch input + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + TAG_FULL="${{ inputs.tag }}" + TAG_VERSION=${TAG_FULL#mcp-v} + else + TAG_VERSION=${GITHUB_REF#refs/tags/mcp-v} + fi if ! [[ $TAG_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echo "Tag must follow semantic versioning: mcp-vX.Y.Z"