@tama-create/sf-tools 1.4.0-dev.15 → 1.4.0-dev.16

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.
@@ -229,7 +229,7 @@ export function statusLines(input, paint) {
229
229
  if (st.next === "none" || i < nidx)
230
230
  return paint.green(`✓ ${t}`);
231
231
  if (i === nidx)
232
- return paint.boldCyan(st.pr !== "" ? `▸ ${t} (PR #${st.pr} 発行中)` : `▸ ${t} (次のPR)`);
232
+ return paint.boldCyan(st.pr !== "" ? `▸ ${t} (PR #${st.pr} 発行中)` : nidx === 0 ? `▸ ${t} (次のPR・このコミットは未リリース)` : `▸ ${t} (次のPR)`);
233
233
  return paint.dim(`× ${t}`);
234
234
  })
235
235
  .join(` ${paint.dim("⇒")} `);
package/dist/core/pr.js CHANGED
@@ -178,6 +178,11 @@ export async function runPr(args, box, deps, ask) {
178
178
  box.output.err(` ✗ ${t}`);
179
179
  }
180
180
  box.output.err("");
181
+ // 次の PR 先の理由: 印は「このコミット」に付くため、新しいコミットを積むと、前のコミットが出済みでも、最初の段階から出し直しになる
182
+ if (!plan.skipped && plan.next !== "none" && plan.prOpen === "" && plan.tiers[0] === plan.next) {
183
+ const short = head !== null && head.code === 0 ? ` ${head.stdout.trim().slice(0, 7)}` : "";
184
+ log("INFO", `この先端のコミット${short}は、まだ ${plan.next} に出ていません(新しいコミットを積むと、前のコミットが出済みでも、${plan.tiers.join(" → ")} の順に、最初の段階から出します)。`);
185
+ }
181
186
  if (plan.skipped) {
182
187
  log("INFO", "ターゲットファイル(deploy-target.txt・remove-target.txt)に対象がないため、出すものがありません。");
183
188
  return EXIT.ok;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tama-create/sf-tools",
3
- "version": "1.4.0-dev.15",
3
+ "version": "1.4.0-dev.16",
4
4
  "description": "Salesforce 開発の環境構築と毎日の作業を自動化する(TypeScript 版・開発中)",
5
5
  "license": "Unlicense",
6
6
  "repository": {