未验证 提交 e7767ae9 编写于 作者: M matthew-carroll 提交者: GitHub

Add license file patching instructions to README (#6125)

Add license file patching instructions to README
上级 51d4be77
# Update License Files
## Apply patch generated by CI
If you're not working on a Linux box then you can't auto-generate license files. A workaround is provided via CI.
Your build will fail one or more CI checks if your license files are not correct. Open the failing CI check. In the CI output you will find a patch diff that represents the changes that need to be made to your license files. Copy this patch to a temporary patch file wherever you'd like. Then apply the patch to your repo:
```
cd flutter/ci/licenses_golden
patch -p2 < my/patch/file
```
## Regenerate License Files (Only works on Linux)
To update the golden license files, make sure you've rebased your branch to the latest upstream master and then run the following in this directory:
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册