The app.version config value is now set by the packaging script
This commit is contained in:
parent
f9bafeb91e
commit
e136fa7105
@ -2,7 +2,7 @@
|
||||
|
||||
return [
|
||||
// Version number of Blue Twilight
|
||||
'version' => '1.0.0-ALPHA',
|
||||
'version' => '**DEV**',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -23,6 +23,10 @@ if (getcwd() != $appRoot)
|
||||
exit();
|
||||
}
|
||||
|
||||
echo 'Updating app.version config value...' . PHP_EOL . PHP_EOL;
|
||||
$appConfigFile = sprintf('%s/config/app.php', $appRoot);
|
||||
file_put_contents($appConfigFile, str_replace('**DEV**', $argv[1], file_get_contents($appConfigFile)));
|
||||
|
||||
echo 'Downloading Composer...' . PHP_EOL . PHP_EOL;
|
||||
|
||||
copy('https://getcomposer.org/installer', 'composer-setup.php');
|
||||
|
Loading…
Reference in New Issue
Block a user