@taole/deploy-helper 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -383,6 +383,7 @@ async function main() {
|
|
|
383
383
|
try {
|
|
384
384
|
await assetsGit.push();
|
|
385
385
|
} catch (error) {
|
|
386
|
+
await assetsGit.pull();
|
|
386
387
|
await assetsGit.push();
|
|
387
388
|
}
|
|
388
389
|
log(`assets push done.`);
|
|
@@ -392,6 +393,7 @@ async function main() {
|
|
|
392
393
|
try {
|
|
393
394
|
await entryGit.push();
|
|
394
395
|
} catch (error) {
|
|
396
|
+
await entryGit.pull();
|
|
395
397
|
await entryGit.push();
|
|
396
398
|
}
|
|
397
399
|
log(`entry push done.`);
|