Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Sjj1024/PakePlus
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
Sjj1024 committed Dec 24, 2024
2 parents d527fdf + 80f36e7 commit bd2c501
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ pnpm run dev
pnpm run build

# github action
releaseDraft: false:表示这个版本不会是草稿版本,它会被视为正式发布的版本。
prerelease: false:表示这个版本不是预发布版本,也就是说这是一个稳定版本。
publish: false:表示这个版本不会立即发布,虽然它会被创建,但不会公开显示。
releaseDraft: false:means this version is not a draft version, it will be considered as a stable release.
prerelease: false:means this version is not a pre-release version, which means it is a stable version.
publish: false:means this version will not be published immediately, although it will be created, it will not be publicly displayed.
```

<!-- ## Support
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pakeplus",
"private": true,
"version": "0.4.1",
"version": "0.4.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ const appRules = reactive<FormRules>({
},
{
validator: (rule, value, callback) => {
const versionPattern = /^\d+\.\d+\.\d+$/ // 匹配如 1.8.8 或 1.9.23
const versionPattern = /^\d\.\d\.\d$/ // 匹配如 1.8.8 或 1.9.23
if (!versionPattern.test(value)) {
callback(new Error(t('versionSemVer')))
} else {
Expand Down

0 comments on commit bd2c501

Please sign in to comment.