Files
html/api/ambre-v16-commit.php

14 lines
764 B
PHP

<?php
header("Content-Type: text/plain");
// Quick git commit + tag V16
$out = "";
$out .= shell_exec("cd /var/www/html && git add api/ambre-tool-*.php api/ambre-session-*.php api/ambre-claude-pattern-sse.php wevia.html wevia-claude-pattern.html api/ambre-pw-tests/tests/*.spec.js 2>&1 | head -5");
$out .= "\n=== commit ===\n";
$out .= shell_exec("cd /var/www/html && git commit -m 'wave-228 V16 · 17 turns premium tools video · 9/17 auth PASS' 2>&1 | head -5");
$out .= "\n=== tag ===\n";
$out .= shell_exec("cd /var/www/html && git tag -f wave-228-v16-video 2>&1");
$out .= shell_exec("cd /var/www/html && git push origin main --tags 2>&1 | tail -5");
$out .= "\n=== log ===\n";
$out .= shell_exec("cd /var/www/html && git log --oneline -3 2>&1");
echo $out;