@co0ontty/wand 3.1.0-beta.g2cf7dfb → 3.1.0
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/dist/build-info.json +4 -4
- package/dist/git-quick-commit.js +9 -27
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
3
|
-
"builtAt": "2026-07-13T05:
|
|
4
|
-
"version": "3.1.0
|
|
5
|
-
"channel": "
|
|
2
|
+
"commit": "8bd74a55a6f2b67573cfb3496dccb04a25382dca",
|
|
3
|
+
"builtAt": "2026-07-13T05:42:57.549Z",
|
|
4
|
+
"version": "3.1.0",
|
|
5
|
+
"channel": "stable"
|
|
6
6
|
}
|
package/dist/git-quick-commit.js
CHANGED
|
@@ -709,17 +709,6 @@ export async function runPush(opts) {
|
|
|
709
709
|
subPushErrors = subPush.errors;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
// 父仓库 commit/tag 一旦先上远端就可能立即触发 release workflow;此时任一
|
|
713
|
-
// submodule push 失败都会让 CI 永远检出不到父仓库记录的 gitlink。保留父仓库的
|
|
714
|
-
// 本地 commit/tag,等用户补推成功后再一起发布,不能带着部分失败继续 push。
|
|
715
|
-
if (subPushErrors.length > 0) {
|
|
716
|
-
return {
|
|
717
|
-
ok: false,
|
|
718
|
-
pushedCommits: false,
|
|
719
|
-
pushedTags: false,
|
|
720
|
-
error: subPushErrors.join(";"),
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
712
|
const outcome = doPush({ cwd, pushCommits, pushTags, recurseSubmodules: submodule ? "no" : "check" });
|
|
724
713
|
return {
|
|
725
714
|
ok: !outcome.error && subPushErrors.length === 0,
|
|
@@ -1194,22 +1183,15 @@ export async function runQuickCommit(opts) {
|
|
|
1194
1183
|
const subPush = pushSubmodules(cwd, submoduleOutcome.commits, { pushTags: !!tagName, tagName });
|
|
1195
1184
|
subPushErrors = subPush.errors;
|
|
1196
1185
|
}
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
// Push only the freshly-created tag — avoids surprising users by pushing stale local tags.
|
|
1207
|
-
pushTags: tagName ? [tagName] : false,
|
|
1208
|
-
recurseSubmodules: includeSub ? "no" : "check",
|
|
1209
|
-
});
|
|
1210
|
-
pushed = outcome.pushedCommits && (tagName ? outcome.pushedTags : true);
|
|
1211
|
-
pushError = outcome.error;
|
|
1212
|
-
}
|
|
1186
|
+
const outcome = doPush({
|
|
1187
|
+
cwd,
|
|
1188
|
+
pushCommits: true,
|
|
1189
|
+
// Push only the freshly-created tag — avoids surprising users by pushing stale local tags.
|
|
1190
|
+
pushTags: tagName ? [tagName] : false,
|
|
1191
|
+
recurseSubmodules: includeSub ? "no" : "check",
|
|
1192
|
+
});
|
|
1193
|
+
pushed = outcome.pushedCommits && (tagName ? outcome.pushedTags : true) && subPushErrors.length === 0;
|
|
1194
|
+
pushError = outcome.error || (subPushErrors.length ? subPushErrors.join(";") : undefined);
|
|
1213
1195
|
}
|
|
1214
1196
|
return {
|
|
1215
1197
|
ok: true,
|