Skip to content

Commit

Permalink
Fixed Build Webpackage error on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkone committed Mar 8, 2017
1 parent f592e1a commit bf0bdf1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ Please have a look here: [GitHub Issues](https://github.com/kirkone/vsts-dnx-tas

### Release Notes

#### Version 0.1.27

- Fixed Build Webpackage error on publish

#### Version 0.1.26

- Fix for dotnet Tooling 1.0
Expand Down
8 changes: 4 additions & 4 deletions VSTS.DNX.Tasks.BuildWebPackage/BuildWebPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Function Main
Write-Host "##vso[task.logissue type=error;]Error: $error"
}
}

Write-Host "##vso[task.complete result=Failed;]Build Failed!"
Write-Host " Build Failed!`n`r "
Write-Host " "
Expand All @@ -131,7 +131,7 @@ Function Main
$outDir = (Get-Item $p).Name
Write-Host "dotnet publish for:"
Write-Host " ""$p""`n`r "
Invoke-Expression "& dotnet publish $p -c $BuildConfiguration -o ""$OutputFolder\$outDir"" --no-build " 2>&1 -ErrorVariable publishIssues | Format-Console
Invoke-Expression "& dotnet publish $p -c $BuildConfiguration -o ""$OutputFolder\$outDir""" 2>&1 -ErrorVariable publishIssues | Format-Console

$publishWarnings = $publishIssues | Where-Object {$_ -like "*: warning *"}
$publishErrors = $publishIssues | Where-Object {$_ -like "*: error *"}
Expand All @@ -146,7 +146,7 @@ Function Main
Write-Host "##vso[task.logissue type=warning;]Warning: $warning"
}
}

Write-Host " `n`r "
}

Expand All @@ -160,7 +160,7 @@ Function Main
Write-Host "##vso[task.logissue type=error;]Error: $error"
}
}

Write-Host "##vso[task.complete result=Failed;]Publish Failed!"
Write-Host " Publish Failed!`n`r "
Write-Host " "
Expand Down
4 changes: 2 additions & 2 deletions VSTS.DNX.Tasks.BuildWebPackage/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"name": "DNX.Tasks.BuildWebPackage",
"friendlyName": "DNX Tasks Build Web Package",
"description": "Build a package with dotnet cli for Deployment",
"helpMarkDown": "Version: 0.1.25",
"helpMarkDown": "Version: 0.1.26",
"category": "Build",
"author": "Kirsten Kluge",
"version": {
"Major": 0,
"Minor": 1,
"Patch": 25
"Patch": 26
},
"visibility": [
"Build"
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "vsts-dnx-tasks",
"name": "VSTS DNX Tasks",
"version": "0.1.26",
"version": "0.1.27",
"publisher": "kirkone",
"public": true,
"targets": [
Expand Down

0 comments on commit bf0bdf1

Please sign in to comment.