Skip to content

Commit

Permalink
chore: 修正构建副标题
Browse files Browse the repository at this point in the history
  • Loading branch information
x6eull committed Mar 2, 2025
1 parent 62f412c commit 1528049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const headSha = sh('git rev-parse HEAD');
const headCommitCount = sh('git rev-list --count HEAD');
const headBranch = sh('git rev-parse --abbrev-ref HEAD');
const anyChanges = sh('git status --porcelain -uall', '').length > 0;
const BUILD_INFO = isDocker ? '使用 Docker 构建' : `构建版本 {${headCommitCount}${anyChanges ? '*' : ''}}`;
const BUILD_INFO = isDocker ? '使用 Docker 构建' : `构建版本 ${headCommitCount}${anyChanges ? '*' : ''}`;

// https://vitejs.dev/config/
export default defineConfig({
Expand Down

0 comments on commit 1528049

Please sign in to comment.