🎥 Make videos programmatically with React
allow empty releases for php + go
Jonny Burger7fd449ac6550
diff --git a/packages/lambda-go/publish.mjs b/packages/lambda-go/publish.mjsindex e7aca84c35..2e8c3db470 100644--- a/packages/lambda-go/publish.mjs+++ b/packages/lambda-go/publish.mjs@@ -51,9 +51,12 @@ writeFileSync("Visit https://www.remotion.dev/docs/lambda/go to learn how to install the Remotion Lambda Go SDK.",].join("\n"));-execSync("git add .", { cwd: workingDir });-execSync(`git commit -m 'Release ${VERSION}'`, { cwd: workingDir });-execSync(`git tag ${VERSION}`, { cwd: workingDir });-execSync("git push", { cwd: workingDir });-execSync(`git push origin ${VERSION}`, { cwd: workingDir });-execSync("git push --tags", { cwd: workingDir });+execSync("git add .", { cwd: workingDir, stdio: "inherit" });+execSync(`git commit --allow-empty -m 'Release ${VERSION}'`, {+ cwd: workingDir,+ stdio: "inherit",+});+execSync(`git tag ${VERSION}`, { cwd: workingDir, stdio: "inherit" });+execSync("git push", { cwd: workingDir, stdio: "inherit" });+execSync(`git push origin ${VERSION}`, { cwd: workingDir, stdio: "inherit" });+execSync("git push --tags", { cwd: workingDir, stdio: "inherit" });diff --git a/packages/lambda-php/publish.mjs b/packages/lambda-php/publish.mjsindex db7c27e069..17c54a3108 100644--- a/packages/lambda-php/publish.mjs+++ b/packages/lambda-php/publish.mjs@@ -43,9 +43,12 @@ writeFileSync("Visit https://www.remotion.dev/docs/lambda/php to learn how to install the Remotion Lambda PHP SDK.",].join("\n"));-execSync("git add .", { cwd: workingDir });-execSync(`git commit -m 'Release ${VERSION}'`, { cwd: workingDir });-execSync(`git tag ${VERSION}`, { cwd: workingDir });-execSync("git push", { cwd: workingDir });-execSync(`git push origin ${VERSION}`, { cwd: workingDir });-execSync("git push --tags", { cwd: workingDir });+execSync("git add .", { cwd: workingDir, stdio: "inherit" });+execSync(`git commit --allow-empty -m 'Release ${VERSION}'`, {+ cwd: workingDir,+ stdio: "inherit",+});+execSync(`git tag ${VERSION}`, { cwd: workingDir, stdio: "inherit" });+execSync("git push", { cwd: workingDir, stdio: "inherit" });+execSync(`git push origin ${VERSION}`, { cwd: workingDir, stdio: "inherit" });+execSync("git push --tags", { cwd: workingDir, stdio: "inherit" });