Skip to content

Commit

Permalink
Using SYSTEM_DEFAULTWORKINGDIRECTORY for temporary files.
Browse files Browse the repository at this point in the history
This will enable the extension to work in both Build and Release.
  • Loading branch information
michaelnoonan committed Mar 22, 2016
1 parent cbce9de commit d258aa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function Create-ReleaseNotes($linkedItemReleaseNotes) {
}

$fileguid = [guid]::NewGuid()
$fileLocation = Join-Path -Path $env:BUILD_STAGINGDIRECTORY -ChildPath "release-notes-$fileguid.md"
$fileLocation = Join-Path -Path $env:SYSTEM_DEFAULTWORKINGDIRECTORY -ChildPath "release-notes-$fileguid.md"
$notes | Out-File $fileLocation -Encoding utf8

return "--releaseNotesFile=`"$fileLocation`""
Expand Down

0 comments on commit d258aa3

Please sign in to comment.