Skip to content

🎥 Make videos programmatically with React

v4.0.305

Jonny Burgerb839b227e394
diff --git a/packages/lambda-ruby/publish.ts b/packages/lambda-ruby/publish.ts
index 1a2d25a7da..7135a2eb82 100644
--- a/packages/lambda-ruby/publish.ts
+++ b/packages/lambda-ruby/publish.ts
@@ -53,6 +53,11 @@ try {
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'});
} catch (e) {}
execSync('git push', {cwd: workingDir, stdio: 'inherit'});