Fix git flow installation for windows

This commit is contained in:
Manuel Thalmann 2023-06-22 20:54:36 +02:00
parent e064c3fd01
commit 62a82f6564
2 changed files with 3 additions and 9 deletions

View file

@ -1,8 +0,0 @@
$tempDir = Join-Path $([System.IO.Path]::GetTempPath()) $([System.IO.Path]::GetRandomFileName());
$null = New-Item -ItemType Directory $tempDir;
Push-Location "$tempDir";
. "$PSScriptRoot/config.sh";
Pop-Location;
Remove-Item -Recurse "$tempDir";

View file

@ -1,2 +1,4 @@
. "$PSScriptRoot/setup/install.sh";
. "$PSScriptRoot/flow/install.ps1";
$bashPath = [System.IO.Path]::Join((Get-Command "git").Source, "..", "..", "git-bash.exe");
Start-Process -Wait -FilePath "$bashPath" -ArgumentList "$PSScriptRoot/flow/install.sh";