Skip to content

Commit 9335243

Browse files
committed
yamato: Install nbgv globally so it can be run from anywhere
1 parent 27893c4 commit 9335243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.yamato/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ build:
1111
scripts\Build.ps1
1212
scripts\Test.ps1 -Yamato
1313
14-
dotnet tool install --tool-path . nbgv
14+
try { dotnet tool install -g nbgv } catch {}
1515
Push-Location src\com.unity.git.api
16-
$version = ..\..\nbgv get-version -f json | ConvertFrom-Json
16+
$version = nbgv get-version -f json | ConvertFrom-Json
1717
Pop-Location
1818
1919
Write-Output "Packaging version $($version.AssemblyInformationalVersion)"

0 commit comments

Comments
 (0)