Skip to content

🎥 Make videos programmatically with React

publish

Jonny Burger69c2e389a6b2
diff --git a/packages/bugs/api/[v].ts b/packages/bugs/api/[v].ts
index 188728c5e7..8453e4d7cf 100644
--- a/packages/bugs/api/[v].ts
+++ b/packages/bugs/api/[v].ts
@@ -10,9 +10,9 @@ export const bugs: Bug[] = [
{
title: 'Broken release',
description:
- 'This version of Remotion was not published correctly. Upgrade to 4.0.197.',
+ 'This version of Remotion was not published correctly. Upgrade to 4.0.198.',
link: 'https://remotion.dev/changelog',
- versions: ['4.0.195', '4.0.197'],
+ versions: ['4.0.195', '4.0.196', '4.0.197'],
},
{
title: 'Broken release',
diff --git a/packages/compositor-darwin-arm64/remotion b/packages/compositor-darwin-arm64/remotion
index b03a107faa..120f5f439c 100755
Binary files a/packages/compositor-darwin-arm64/remotion and b/packages/compositor-darwin-arm64/remotion differ
diff --git a/packages/lambda-python/publish.mjs b/packages/lambda-python/publish.mjs
index 3727c0e1fa..50d58f9fd5 100644
--- a/packages/lambda-python/publish.mjs
+++ b/packages/lambda-python/publish.mjs
@@ -1,52 +1,52 @@
-import { execSync } from "node:child_process";
-import dotenv from "dotenv";
+import dotenv from 'dotenv';
+import {execSync} from 'node:child_process';
dotenv.config();
const isTest = false;
-const pypiRepo = isTest ? "testpypi" : "pypi";
+const pypiRepo = isTest ? 'testpypi' : 'pypi';
try {
- /**
- * creates an environment file that is referenced by twine
- */
- execSync(
- `cat <<EOF > ~/.pypirc
+ /**
+ * creates an environment file that is referenced by twine
+ */
+ execSync(
+ `cat <<EOF > ~/.pypirc
[${pypiRepo}]
username = __token__
password = ${process.env.PYPI_PASSWORD}
EOF`,
- {
- stdio: "inherit",
- }
- );
+ {
+ stdio: 'inherit',
+ },
+ );
- const commands = [
- "python -m venv remotion-env",
- ". ./remotion-env/bin/activate",
- "pip install boto3 twine wheel",
- "python setup.py sdist bdist_wheel",
- `python -m twine upload --repository ${pypiRepo} dist/*`,
- "deactivate",
- ];
+ const commands = [
+ 'python -m venv remotion-env',
+ '. ./remotion-env/bin/activate',
+ 'pip install boto3 twine wheel setuptools',
+ 'python setup.py sdist bdist_wheel',
+ `python -m twine upload --repository ${pypiRepo} dist/*`,
+ 'deactivate',
+ ];
- execSync(commands.join(" && "), {
- stdio: "inherit",
- });
+ execSync(commands.join(' && '), {
+ stdio: 'inherit',
+ });
- console.log("Remotion lambda published.");
+ console.log('Remotion lambda published.');
} catch (error) {
- console.log("Something went wrong whit publishing ", error);
+ console.log('Something went wrong whit publishing ', error);
} finally {
- console.log("Cleaning up....");
- // clean up used folder
- const rmComm = [
- "rm -rf build",
- "rm -rf dist",
- "rm -rf remotion_lambda.*",
- "rm -rf remotion-env",
- ];
- execSync(rmComm.join(" && "), {
- stdio: "inherit",
- });
- console.log("Cleaning up successful.");
+ console.log('Cleaning up....');
+ // clean up used folder
+ const rmComm = [
+ 'rm -rf build',
+ 'rm -rf dist',
+ 'rm -rf remotion_lambda.*',
+ 'rm -rf remotion-env',
+ ];
+ execSync(rmComm.join(' && '), {
+ stdio: 'inherit',
+ });
+ console.log('Cleaning up successful.');
}