Skip to content

Commit

Permalink
release v7.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed May 10, 2024
1 parent df5cfa7 commit 6a45b73
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
cache: pnpm

- run: echo ${{ matrix.node-version }}
- run: npm i -g npm@8
- run: node -v
- run: npm -v
- run: pnpm store path
- run: pnpm install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
cache: pnpm

- run: echo ${{ matrix.node-version }}
- run: npm i -g npm@8
- run: node -v
- run: npm -v
- run: pnpm store path
- run: pnpm install
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 2024.05.10 v7.0.1

1. 修复版本控制BUG

## 2024.05.10 v7.0.0

1. 重构项目,合理规划代码
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": "@gitmars/monorepo",
"description": "这是一个git工作流工具",
"version": "7.0.0",
"version": "7.0.1",
"packageManager": "[email protected]",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/api",
"description": "gitmars api",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/build",
"description": "gitmars build",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/cache",
"description": "gitmars cache",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/core",
"description": "gitmars核心程序",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/versionControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function isNeedUpgrade(type?: VersionControlType): Promise<boolean>
const semverTag = semverDiff(version, tagVersion)

if (!type) return false
if (isPreVer) return !!semverTag
if (isPreVer) return Boolean(semver || semverTag)
else if (!semver) return false
return (
(type === 'patch' &&
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 2024.05.10 v7.0.1

1. 修复版本控制BUG

## 2024.05.10 v7.0.0

1. 重构项目,合理规划代码
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/docs",
"description": "gitmars文档库",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/git/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/git",
"description": "gitmars git",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/gitmars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gitmars",
"description": "这是一个git工作流工具",
"type": "module",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"bin": {
"gitm": "lib/gitm.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/go/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/go",
"description": "gitmars go",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/hook/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/hook",
"description": "gitmars hook",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gitmars/utils",
"description": "gitmars utils",
"version": "7.0.0",
"version": "7.0.0-beta.34",
"private": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm-bundler.js",
Expand Down

0 comments on commit 6a45b73

Please sign in to comment.