From ccfe40c1f0d5ad48858cf867a7f31e97b2269b5f Mon Sep 17 00:00:00 2001 From: Jiaxin Peng Date: Wed, 10 Dec 2025 23:18:03 +0000 Subject: [PATCH] fix: Refine release workflow tag patterns to exclude prerelease versions. --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5132112..e39c7f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,14 @@ on: branches: - main tags: - - "v*.*.*" - - "[0-9]+.[0-9]+.[0-9]+" + # Only trigger for release tags (e.g., v1.0.0, v2.3.4) + # Excludes prerelease tags (e.g., v2.8.0-beta.3, v1.0.0-rc.1) + - "v[0-9]+.[0-9]+.[0-9]" + - "v[0-9]+.[0-9]+.[0-9][0-9]" + - "v[0-9]+.[0-9]+.[0-9][0-9][0-9]" + - "v[0-9]+.[0-9][0-9].[0-9]" + - "v[0-9]+.[0-9][0-9].[0-9][0-9]" + - "v[0-9]+.[0-9][0-9].[0-9][0-9][0-9]" env: PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin.