Skip to content

Commit 6a45b73

Browse files
committed
release v7.0.1
1 parent df5cfa7 commit 6a45b73

File tree

16 files changed

+24
-12
lines changed

16 files changed

+24
-12
lines changed

.github/workflows/publish-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
cache: pnpm
2828

2929
- run: echo ${{ matrix.node-version }}
30+
- run: npm i -g npm@8
31+
- run: node -v
3032
- run: npm -v
3133
- run: pnpm store path
3234
- run: pnpm install

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
cache: pnpm
3030

3131
- run: echo ${{ matrix.node-version }}
32+
- run: npm i -g npm@8
33+
- run: node -v
3234
- run: npm -v
3335
- run: pnpm store path
3436
- run: pnpm install

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 更新日志
22

3+
## 2024.05.10 v7.0.1
4+
5+
1. 修复版本控制BUG
6+
37
## 2024.05.10 v7.0.0
48

59
1. 重构项目,合理规划代码

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gitmars/monorepo",
33
"description": "这是一个git工作流工具",
4-
"version": "7.0.0",
4+
"version": "7.0.1",
55
"packageManager": "[email protected]",
66
"main": "index.js",
77
"files": [

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gitmars/api",
33
"description": "gitmars api",
4-
"version": "7.0.0",
4+
"version": "7.0.0-beta.34",
55
"private": false,
66
"main": "./dist/index.cjs.js",
77
"module": "./dist/index.esm-bundler.js",

packages/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gitmars/build",
33
"description": "gitmars build",
4-
"version": "7.0.0",
4+
"version": "7.0.0-beta.34",
55
"private": false,
66
"main": "./dist/index.cjs.js",
77
"module": "./dist/index.esm-bundler.js",

packages/cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gitmars/cache",
33
"description": "gitmars cache",
4-
"version": "7.0.0",
4+
"version": "7.0.0-beta.34",
55
"private": false,
66
"main": "./dist/index.cjs.js",
77
"module": "./dist/index.esm-bundler.js",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gitmars/core",
33
"description": "gitmars核心程序",
4-
"version": "7.0.0",
4+
"version": "7.0.0-beta.34",
55
"private": false,
66
"main": "./dist/index.cjs.js",
77
"module": "./dist/index.esm-bundler.js",

packages/core/src/versionControl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export async function isNeedUpgrade(type?: VersionControlType): Promise<boolean>
5353
const semverTag = semverDiff(version, tagVersion)
5454

5555
if (!type) return false
56-
if (isPreVer) return !!semverTag
56+
if (isPreVer) return Boolean(semver || semverTag)
5757
else if (!semver) return false
5858
return (
5959
(type === 'patch' &&

packages/docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 更新日志
22

3+
## 2024.05.10 v7.0.1
4+
5+
1. 修复版本控制BUG
6+
37
## 2024.05.10 v7.0.0
48

59
1. 重构项目,合理规划代码

0 commit comments

Comments
 (0)