Skip to content

Commit

Permalink
fix: Pull before push in publish-crates-homebrew (eclipse-zenoh#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored May 7, 2024
1 parent 40b8bad commit 07353a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/publish-crates-homebrew-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/publish-crates-homebrew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down

0 comments on commit 07353a2

Please sign in to comment.