# Make \`script/generate-license\` fail on WARN too \(\#34008\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2a6ef006f4ea35ee0e611aa26640aed8b655022a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2a6ef006f4ea35ee0e611aa26640aed8b655022a

Requested commit: 2a6ef006f4ea35ee0e611aa26640aed8b655022a

Commit: 2a6ef006f4ea35ee0e611aa26640aed8b655022a

Tree: 2ba4ace8d2185582f730c0bf78d16163e931a0ca

Author: Peter Tripp

Committer: GitHub

## Message

````
Make `script/generate-license` fail on WARN too (#34008)

Current main shows this on `script/generate-licenses`:
```
[WARN] failed to validate all files specified in clarification for crate ring 0.17.14: checksum mismatch, expected '76b39f9b371688eac9d8323f96ee80b3aef5ecbc2217f25377bd4e4a615296a9'
```

Ring fixed it's licenses ambiguity upstream. This warning was
identifying that their license text (multiple licenses concatenated) had
changed (sha mismatch) and thus our license clarification was invalid.

Tested the script to confirm this [now
fails](https://github.com/zed-industries/zed/actions/runs/16118890720/job/45479355992?pr=34008)
under CI and then removed the ring clarification because it is no longer
required and now passes.

Release Notes:

- N/A
````

## Parents

- [38febed02d9341d9dc812c0895dc1144733ef94c](https://git.cafe/gitcafe/zed/commit/38febed02d9341d9dc812c0895dc1144733ef94c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2a6ef006f4ea35ee0e611aa26640aed8b655022a?format=markdown)
