Skip to content

🎥 Make videos programmatically with React

php: add version in commit message

Jonny Burgere87fcb2c1e7e
diff --git a/packages/lambda-php/publish.mjs b/packages/lambda-php/publish.mjs
index 28c6b60d92..7d537ef885 100644
--- a/packages/lambda-php/publish.mjs
+++ b/packages/lambda-php/publish.mjs
@@ -44,7 +44,7 @@ writeFileSync(
].join("\n")
);
execSync("git add .", { cwd: workingDir });
-execSync("git commit -m 'Update'", { 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 });