From 8cbca4500d7903a25af4e940c7f9d8e3c2ffe0e1 Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Sat, 19 Sep 2015 12:52:51 +0300 Subject: [PATCH] build: Change location to script's directory --- nuget/build-appveyor.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nuget/build-appveyor.ps1 b/nuget/build-appveyor.ps1 index 1e3ed5c7b0..cd75639a45 100644 --- a/nuget/build-appveyor.ps1 +++ b/nuget/build-appveyor.ps1 @@ -1,3 +1,7 @@ +$scriptpath = $MyInvocation.MyCommand.Path +$dir = Split-Path $scriptpath +Push-Location $dir + sv version $env:APPVEYOR_BUILD_NUMBER sv version 9999.0.$version-nightly .\build-version.ps1 $version