Skip to content

Commit

Permalink
release 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Feb 1, 2024
1 parent e61e891 commit ead46c3
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 更新日志

## 2024.01.31 v6.1.0
## 2024.02.01 v6.1.0

1. build指令增加参数确认环节
2. 移除构建参数转码
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": "6.1.0-beta.1",
"version": "6.1.0",
"packageManager": "pnpm@8.7.4",
"main": "index.js",
"files": [
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": "6.1.0-beta.1",
"version": "6.1.0",
"private": false,
"main": "./lib/index.js",
"module": "./lib/index.mjs",
Expand Down
6 changes: 6 additions & 0 deletions packages/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 更新日志

## 2024.02.01 v6.1.0

1. build指令增加参数确认环节
2. 移除构建参数转码
3. 升级依赖包

## 2024.01.08 v6.0.0

1. 移除 `server` `ui` 两个子项目
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": "6.1.0-beta.1",
"version": "6.1.0",
"private": false,
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/gitmars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gitmars",
"description": "这是一个git工作流工具",
"version": "6.1.0-beta.1",
"version": "6.1.0",
"private": false,
"bin": {
"gitm": "lib/gitm.mjs"
Expand Down
2 changes: 2 additions & 0 deletions packages/gitmars/src/gitm-admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ publishProgram.action(
opt.build === true ? 'all' : opt.build
} ${opt.data ? ' --data ' + opt.data : ''}`,
config: {
stdio: 'inherit',
again: false,
success: t('Pulling up the build was successful'),
fail: t('Failed to pull up the build')
Expand All @@ -699,6 +700,7 @@ publishProgram.action(
opt.build === true ? 'all' : opt.build
} ${opt.data ? ' --data ' + opt.data : ''}`,
config: {
stdio: 'inherit',
again: false,
success: t('Pulling up the build was successful'),
fail: t('Failed to pull up the build')
Expand Down
4 changes: 3 additions & 1 deletion packages/gitmars/src/gitm-build.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ts-node
import { program } from 'commander'
import sh from 'shelljs'
import inquirer from 'inquirer'
import chalk from 'chalk'
import { createArgs } from '@gitmars/core/lib/utils/command'
Expand Down Expand Up @@ -54,7 +55,8 @@ program.action(async (project: string, opt: GitmBuildOption): Promise<void> => {
message
})

confirm &&
if (!confirm) sh.exit(1)
else
runJenkins({
env: opt.env,
project,
Expand Down
3 changes: 3 additions & 0 deletions packages/gitmars/src/gitm-combine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ program.action(async (type: string, name: string, opt: GitmBuildOption): Promise
opt.build === true ? 'all' : opt.build
} ${opt.data ? ' --data ' + opt.data : ''}`,
config: {
stdio: 'inherit',
again: false,
success: t('Pulling up the build was successful'),
fail: t('Failed to pull up the build')
Expand Down Expand Up @@ -594,6 +595,7 @@ program.action(async (type: string, name: string, opt: GitmBuildOption): Promise
opt.build === true ? 'all' : opt.build
} ${opt.data ? ' --data ' + opt.data : ''}`,
config: {
stdio: 'inherit',
again: false,
success: t('Pulling up the build was successful'),
fail: t('Failed to pull up the build')
Expand All @@ -609,6 +611,7 @@ program.action(async (type: string, name: string, opt: GitmBuildOption): Promise
opt.build === true ? 'all' : opt.build
} ${opt.data ? ' --data ' + opt.data : ''}`,
config: {
stdio: 'inherit',
again: false,
success: t('Pulling up the build was successful'),
fail: t('Failed to pull up the build')
Expand Down
2 changes: 1 addition & 1 deletion packages/gitmars/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit ead46c3

Please sign in to comment.