Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #565 from Microsoft/dev
Browse files Browse the repository at this point in the history
Merge dev into master
  • Loading branch information
conniey authored Jan 31, 2018
2 parents 191bd26 + 3f356e2 commit 7c80ef6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@ assembly-versioning-scheme: MajorMinorPatchTag
mode: ContinuousDeployment
branches:
master:
regex: master
tag: alpha
prevent-increment-of-merged-branch-version: true
dev:
regex: dev(elop)?(ment)?$
tag: unstable
pull-request:
regex: (pull|pull\-requests|pr)[/-]
mode: ContinuousDelivery
tag: pr
prevent-increment-of-merged-branch-version: false
next-version: 2.4
ignore:
sha: []
8 changes: 4 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ function Set-DevEnvironment {
}

$output = cmd /c "`"$devEnv`" & set"

foreach ($line in $output)
{
if ($line -match "(?<key>.*?)=(?<value>.*)") {
$key = $matches["key"]
$value = $matches["value"]

Write-Verbose("$key=$value")
Set-Item "ENV:\$key" -Value "$value" -Force
}
}

if (Get-Command $msbuild -ErrorAction SilentlyContinue)
{
Write-Host "Added $msbuild to path"
Expand Down Expand Up @@ -128,7 +128,7 @@ if ($Platform -eq "AnyCPU") {

Push-Location $root

& msbuild PortabilityTools.sln "/t:restore;build;pack" /p:Configuration=$Configuration /p:Platform="$PlatformToUse" /nologo /m /v:m /nr:false "/bl:$binFolder\msbuild.binlog"
& msbuild PortabilityTools.sln "/t:restore;build;pack" /p:Configuration=$Configuration /p:Platform="$PlatformToUse" /nologo /m:1 /v:m /nr:false "/bl:$binFolder\msbuild.binlog"

Pop-Location

Expand Down

0 comments on commit 7c80ef6

Please sign in to comment.