website v3

This commit is contained in:
zoop 2026-09-08 19:06:59 -04:00
parent 2a3f249c78
commit 9a0c184515
No known key found for this signature in database
GPG Key ID: 15C0D336C9E08F3F

View File

@ -454,9 +454,9 @@ async function main() {
execFileSync("git", ["commit", "-m", message], { stdio: "inherit" });
try {
execFileSync("git", ["push"], { stdio: "inherit" });
execFileSync("git", ["push", "origin", "main"], { stdio: "inherit" });
} catch {
console.error("\npush failed — commit is local. if this branch has no upstream yet:\n git push -u origin HEAD");
console.error("\npush to origin/main failed — commit is local. if your local branch isn't named `main`:\n git branch -m main");
throw new Error("push");
}
console.log("\ncommitted (comment-stripped) and pushed ✓");