authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-18 16:31:12-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-18 16:34:09-07:00
logaa44512b8511e18a334dcee55c1d9ae5d5aba842
tree792f719062183e65730c4a3424ef120591e0b48d
parente6a4e87f69cdb8c76b24f136c945694db69f9b50

CI: workaround git bug regarding changed attributes


1 files changed, 5 insertions(+), 0 deletions(-)

ci/aarch64-windows.ps1+5
...@@ -31,6 +31,11 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {...@@ -31,6 +31,11 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {
31 git fetch --unshallow # `git describe` won't work on a shallow repo31 git fetch --unshallow # `git describe` won't work on a shallow repo
32}32}
3333
34# Fix files that have their gitattributes changed
35git rm -rf lib
36git restore --staged lib
37git checkout lib
38
34Write-Output "Building from source..."39Write-Output "Building from source..."
35Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore40Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore
36New-Item -Path 'build-release' -ItemType Directory41New-Item -Path 'build-release' -ItemType Directory