Improve package/content technical name mismatch error
This commit is contained in:
@@ -113,7 +113,9 @@ def post_release_check_update(self, release: PackageRelease, path):
|
||||
author=release.package.author.username, name=release.package.name)
|
||||
|
||||
if tree.name is not None and release.package.name != tree.name and tree.type == ContentType.MOD:
|
||||
raise LuantiCheckError(f"Expected {tree.relative} to have technical name {release.package.name}, instead has name {tree.name}")
|
||||
raise LuantiCheckError(f"Package name ({release.package.name}) does not match the name of the content in "
|
||||
f"the release (${tree.name}). Either change the package name on ContentDB or the "
|
||||
f"name in the .conf of the content. Then make a new release")
|
||||
|
||||
cache = {}
|
||||
def get_meta_packages(names):
|
||||
|
||||
Reference in New Issue
Block a user