mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
CI: workaround git bug regarding changed attributes
This commit is contained in:
parent
e6a4e87f69
commit
aa44512b85
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue