mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Improve license check message
This commit is contained in:
parent
c565f0bb50
commit
ca3436be0c
@ -128,7 +128,8 @@ def post_release_check_update(self, release: PackageRelease, path):
|
||||
raise MinetestCheckError("Game has unresolved hard dependencies: " + deps)
|
||||
|
||||
if package.state != PackageState.APPROVED and tree.find_license_file() is None:
|
||||
raise MinetestCheckError("Package needs to have a LICENSE.txt/.md or COPYING file.")
|
||||
raise MinetestCheckError(
|
||||
"You need to add a LICENSE.txt/.md or COPYING file to your package. See the 'Copyright Guide' for more info")
|
||||
|
||||
# Add dependencies
|
||||
for meta in get_meta_packages(depends):
|
||||
|
Loading…
Reference in New Issue
Block a user