projectkudu / KuduScript

Kudu's deployment script logic
37 stars 22 forks source link

Posh template for ASP.NET core contains wrong variable ref. #102

Closed vidarkongsli closed 6 years ago

vidarkongsli commented 6 years ago

When scaffolding a PowerShell deploy script for an ASP.NET core project, a reference to DEPLOYMENT_TEMP is using batch command syntax instead of PowerShell syntax here: dotnet publish "$DEPLOYMENT_SOURCE\{DotnetpublishArguments}" --output "%DEPLOYMENT_TEMP%" --configuration Release should be dotnet publish "$DEPLOYMENT_SOURCE\{DotnetpublishArguments}" --output $DEPLOYMENT_TEMP --configuration Release