Skip to content

🎥 Make videos programmatically with React

v4.0.305

Jonny Burger79cf41465cae
diff --git a/packages/lambda-go/publish.mjs b/packages/lambda-go/publish.mjs
index 51c91a5311..2f8e11a371 100644
--- a/packages/lambda-go/publish.mjs
+++ b/packages/lambda-go/publish.mjs
@@ -66,6 +66,10 @@ execSync(`git tag -d ${VERSION} 2>/dev/null || true`, {
cwd: workingDir,
stdio: 'inherit',
});
+execSync(`git push --delete origin ${VERSION} 2>/dev/null || true`, {
+ 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'});
diff --git a/packages/lambda-php/publish.mjs b/packages/lambda-php/publish.mjs
index e9a582f4fd..9049efa474 100644
--- a/packages/lambda-php/publish.mjs
+++ b/packages/lambda-php/publish.mjs
@@ -52,6 +52,11 @@ execSync(`git tag -d ${VERSION} 2>/dev/null || true`, {
cwd: workingDir,
stdio: 'inherit',
});
+execSync(`git push --delete origin ${VERSION} 2>/dev/null || true`, {
+ 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'});