Skip to content

Commit

Permalink
Adding -ci parameter to the ci build so that we get the right build p…
Browse files Browse the repository at this point in the history
…arameters set (#37)
  • Loading branch information
joperezr committed Nov 16, 2018
1 parent 0e281bb commit 950f9c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<UsingToolMicrosoftNetCompilers>false</UsingToolMicrosoftNetCompilers>
<PublishWindowsPdb>false</PublishWindowsPdb>
<ImportNetSdkFromRepoToolset>false</ImportNetSdkFromRepoToolset>
<Language>C#</Language>
<TargetsWindows Condition="'$(RuntimeIdentifier)' == 'win'">true</TargetsWindows>
Expand Down
2 changes: 1 addition & 1 deletion eng/common/CIBuild.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"
exit /b %ErrorLevel%
2 changes: 1 addition & 1 deletion eng/common/cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ while [[ -h $source ]]; do
done
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"

. "$scriptroot/build.sh" --restore --build --test --pack --publish $@
. "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@

0 comments on commit 950f9c3

Please sign in to comment.