mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
CI: workaround git bug regarding changed attributes
This commit is contained in:
parent
e6a4e87f69
commit
aa44512b85
@ -31,6 +31,11 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {
|
||||
git fetch --unshallow # `git describe` won't work on a shallow repo
|
||||
}
|
||||
|
||||
# Fix files that have their gitattributes changed
|
||||
git rm -rf lib
|
||||
git restore --staged lib
|
||||
git checkout lib
|
||||
|
||||
Write-Output "Building from source..."
|
||||
Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore
|
||||
New-Item -Path 'build-release' -ItemType Directory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user