fix: update release tag patterns and add version bump message in .npmrc

This commit is contained in:
Jiaxin Peng
2026-03-04 10:32:32 +00:00
parent 8dfb82b4ce
commit b08c46c233
2 changed files with 10 additions and 9 deletions

View File

@@ -5,14 +5,14 @@ on:
branches:
- main
tags:
# 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]"
# Only trigger for release tags (e.g., 1.0.0, 2.3.4)
# Excludes prerelease tags (e.g., 2.8.0-beta.3, 1.0.0-rc.1)
- "[0-9]+.[0-9]+.[0-9]"
- "[0-9]+.[0-9]+.[0-9][0-9]"
- "[0-9]+.[0-9]+.[0-9][0-9][0-9]"
- "[0-9]+.[0-9][0-9].[0-9]"
- "[0-9]+.[0-9][0-9].[0-9][0-9]"
- "[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.

3
.npmrc
View File

@@ -1 +1,2 @@
tag-version-prefix=""
tag-version-prefix=""
message="chore: bump version to %s"