The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ci(release): accept PEP 440 tag forms in create-release workflow
Yuneng Jiang1da1eb661b3a
diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.ymlindex 13b76c94dfa..ec2651306f2 100644--- a/.github/workflows/create-release-branch.yml+++ b/.github/workflows/create-release-branch.yml@@ -4,7 +4,7 @@ on:workflow_dispatch:inputs:tag:- description: "Release tag (e.g. v1.83.0-stable) — branch will be named release/<tag>"+ description: "Release tag (e.g. 1.84.0, 1.84.0rc1, 1.84.0.dev42, 1.84.0.post1; legacy v1.83.10-stable still accepted) — branch will be named release/<tag>"required: truetype: stringcommit_hash:@@ -14,7 +14,7 @@ on:workflow_call:inputs:tag:- description: "Release tag"+ description: "Release tag (e.g. 1.84.0, 1.84.0rc1, 1.84.0.dev42, 1.84.0.post1; legacy v1.83.10-stable still accepted)"required: truetype: stringcommit_hash:@@ -40,8 +40,8 @@ jobs:echo "::error::commit_hash must be a full 40-character commit SHA"exit 1fi- if ! echo "${TAG}" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+'; then- echo "::error::tag must start with vX.Y.Z"+ if ! echo "${TAG}" | grep -qE '^v?[0-9]+\.[0-9]+\.[0-9]+'; then+ echo "::error::tag must start with X.Y.Z (optional leading v), e.g. 1.84.0, 1.84.0rc1, 1.84.0.dev42, or v1.83.10-stable"exit 1fidiff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex 68ab397d827..c0aec1687ef 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -4,7 +4,7 @@ on:workflow_dispatch:inputs:tag:- description: "Release tag (e.g. v1.83.0-stable)"+ description: "Release tag (e.g. 1.84.0, 1.84.0rc1, 1.84.0.dev42, 1.84.0.post1; legacy v1.83.10-stable still accepted)"required: truetype: stringcommit_hash:@@ -30,8 +30,8 @@ jobs:echo "::error::commit_hash must be a full 40-character commit SHA"exit 1fi- if ! echo "${TAG}" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+'; then- echo "::error::tag must start with vX.Y.Z"+ if ! echo "${TAG}" | grep -qE '^v?[0-9]+\.[0-9]+\.[0-9]+'; then+ echo "::error::tag must start with X.Y.Z (optional leading v), e.g. 1.84.0, 1.84.0rc1, 1.84.0.dev42, or v1.83.10-stable"exit 1fi