sv version $env:APPVEYOR_BUILD_NUMBER
sv version 9999.0.$version-nightly
.\build-version.ps1 $version

$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

Change location to script's directory
build: Change location to script's directory
