diff --git a/dist/publish-crates-homebrew-main.js b/dist/publish-crates-homebrew-main.js index e30871f..1350351 100644 --- a/dist/publish-crates-homebrew-main.js +++ b/dist/publish-crates-homebrew-main.js @@ -127767,6 +127767,7 @@ async function main(input) { (0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)("brew autoremove"); } if (input.liveRun) { + (0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)(`git pull ${tapUrl} --rebase`, { cwd: tapPath }); (0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)(`git push ${tapUrl}`, { cwd: tapPath }); } cleanup(input); diff --git a/src/publish-crates-homebrew.ts b/src/publish-crates-homebrew.ts index 070c5b6..4454d4a 100644 --- a/src/publish-crates-homebrew.ts +++ b/src/publish-crates-homebrew.ts @@ -128,6 +128,7 @@ export async function main(input: Input) { } if (input.liveRun) { + sh(`git pull ${tapUrl} --rebase`, { cwd: tapPath }); sh(`git push ${tapUrl}`, { cwd: tapPath }); }