Update create-release.ps1

This commit is contained in:
Jay Trees 2022-01-21 16:38:51 +01:00
parent 169e77c944
commit 65344edc35

View file

@ -6,7 +6,7 @@ $VersionRegEx = "define\('VERSION', '([\d\.]+)'\);"
$IndexPHP = (Get-Content -Path .\index.php -Raw) -Replace $VersionRegEx, "`define('VERSION', '$Version');" | Set-Content -Path .\index.php
IEX 'composer install --no-dev'
IEX 'npm install --only=production --no-optional'
IEX 'composer update --no-dev --with-all-dependencies --ignore-platform-req=php'
IEX 'npm update --only=production --no-optional'
Read-Host