Skip to content

Commit 07353a2

Browse files
authored
fix: Pull before push in publish-crates-homebrew (eclipse-zenoh#132)
1 parent 40b8bad commit 07353a2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/publish-crates-homebrew-main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127767,6 +127767,7 @@ async function main(input) {
127767127767
(0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)("brew autoremove");
127768127768
}
127769127769
if (input.liveRun) {
127770+
(0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)(`git pull ${tapUrl} --rebase`, { cwd: tapPath });
127770127771
(0,_command__WEBPACK_IMPORTED_MODULE_4__.sh)(`git push ${tapUrl}`, { cwd: tapPath });
127771127772
}
127772127773
cleanup(input);

src/publish-crates-homebrew.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export async function main(input: Input) {
128128
}
129129

130130
if (input.liveRun) {
131+
sh(`git pull ${tapUrl} --rebase`, { cwd: tapPath });
131132
sh(`git push ${tapUrl}`, { cwd: tapPath });
132133
}
133134

0 commit comments

Comments
 (0)