mirror of https://gerrit.osmocom.org/osmo-ci
explicit fail for missing changelog
Change-Id: I37806abc7e8001de78438ce37a293e74803ff927
This commit is contained in:
parent
08112b1a28
commit
7cb1aab0f7
|
@ -92,6 +92,9 @@ def get_epoch(project):
|
|||
:returns: the epoch number if set, e.g. "1" or an empty string """
|
||||
version_epoch = lib.debian.get_last_version_from_changelog(project)
|
||||
|
||||
if version_epoch is None:
|
||||
raise Exception("Failed to get the last version from changelog")
|
||||
|
||||
if ":" in version_epoch:
|
||||
return version_epoch.split(":")[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue