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.