Skip to content

Commit

Permalink
fix: 修复bundle命令异常
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Feb 4, 2025
1 parent 7d7f290 commit 30036a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bundle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { createRequire } from 'node:module'
import process from 'node:process'
import {
OPEN_SOURCE_ADDRESS,
buildImage,
getRecentGitCommit,
VipDocker,
VipGit,
} from '@142vip/utils'

(async () => {
Expand All @@ -24,10 +24,10 @@ import {
const imageName = `${OPEN_SOURCE_ADDRESS.DOCKER_ALIYUNCS_VIP}/docs:${pkg.name}-${pkg.version}`

// 最近一次提交信息
const { hash: gitHash } = await getRecentGitCommit()
const { hash: gitHash } = await VipGit.getRecentGitCommit()

// 构建镜像
await buildImage({
await VipDocker.buildImage({
imageName,
buildArgs: [
// 参数中是否包含 --proxy
Expand Down

0 comments on commit 30036a2

Please sign in to comment.