Fix Better error message in development when version number changes. (#4188)

This commit is contained in:
tofarr 2024-10-03 09:37:10 -06:00 committed by GitHub
parent 053e2f90d5
commit 909e332207
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ def _put_source_code_to_dir(temp_dir: str):
raise RuntimeError(f'Image build failed:\n{result}')
if not os.path.exists(tarball_path):
logger.error(f'Source distribution not found at {tarball_path}')
logger.error(f'Source distribution not found at {tarball_path}. (Do you need to run `make build`?)')
raise RuntimeError(f'Source distribution not found at {tarball_path}')
logger.info(f'Source distribution created at {tarball_path}')