@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.
Files changed (2) hide show
  1. package/index.mjs +2 -0
  2. 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.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/deploy-helper",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "脚本部署工具,用于将项目部署到测试环境或生产环境",
5
5
  "main": "index.mjs",
6
6
  "type": "module",