mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
fix: Refine release workflow tag patterns to exclude prerelease versions.
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user