move release.php to cli/release.php

This commit is contained in:
the-djmaze 2023-01-03 13:20:27 +01:00
parent 1c9b53eb25
commit 8fdd0407db
3 changed files with 289 additions and 286 deletions

View file

@ -1,5 +1,4 @@
<?php
define('ROOT_DIR', dirname(__DIR__));
define('PLUGINS_DEST_DIR', __DIR__ . '/dist/releases/plugins');
is_dir(PLUGINS_DEST_DIR) || mkdir(PLUGINS_DEST_DIR, 0777, true);