@infly/libs 2.2.3 → 2.2.4

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.
@@ -274,6 +274,10 @@ async function runTargetRelease(options = {}, dependencies = {}) {
274
274
  if (!/^[a-f0-9]{40}$/.test(commit) || commit !== git("rev-parse", `${expectedRef}^{commit}`).toLowerCase()) {
275
275
  throw new Error(`${item.name} HEAD 与 ${expectedRef} 不一致,请先核对并 fetch 对应仓库`);
276
276
  }
277
+ if (item.source) {
278
+ const sourceLabel = item.name === "backend" ? "后端" : (item.label || item.name);
279
+ log(`\x1b[0;32m✓ ${sourceLabel}构建分支:${item.source.branch}\x1b[0m`);
280
+ }
277
281
  let context = inside(sourceDir, item.context || ".");
278
282
  let dockerfile = inside(sourceDir, item.dockerfile || "Dockerfile");
279
283
  for (const file of item.requiredFiles || []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infly/libs",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "不受前端框架限制的独立工具库",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",