Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 21, 2025
1 parent b8c4387 commit 4ecbca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30213,7 +30213,7 @@ function run(context) {
(0, core_1.info)('无需提交');
return true;
}
yield (0, exec_1.exec)('git', ['-am', 'chore: update snapshot'], { cwd: `../${context.repo}` });
yield (0, exec_1.exec)('git', ['commit', '-am', 'chore: update snapshot'], { cwd: `../${context.repo}` });
if (isForkPr) {
yield (0, exec_1.exec)('git', ['push', prData.head.user.login, `HEAD:${prData.head.ref}`], { cwd: `../${context.repo}` });
}
Expand Down
2 changes: 1 addition & 1 deletion src/tdesign/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default async function run(context: TriggerContext) {
info('无需提交')
return true
}
await exec('git', ['-am', 'chore: update snapshot'], { cwd: `../${context.repo}` })
await exec('git', ['commit', '-am', 'chore: update snapshot'], { cwd: `../${context.repo}` })
if (isForkPr) {
await exec('git', ['push', prData.head.user.login, `HEAD:${prData.head.ref}`], { cwd: `../${context.repo}` })
}
Expand Down

0 comments on commit 4ecbca0

Please sign in to comment.