osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37649?usp=email )
Change subject: OBS: support epoch in strongswan-epdg version ......................................................................
OBS: support epoch in strongswan-epdg version
In the related commit, an epoch has been added to the strongswan-epdg version. Adjust the code that replaces the version to suppor this.
Related: https://gitea.osmocom.org/ims-volte-vowifi/strongswan-epdg/commit/872be0a935... Change-Id: I7abcf82a78fd4c4f6d29d2717dad5c70bc50e683 --- M scripts/obs/lib/debian.py 1 file changed, 14 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py index 91c9dac..3c0c2a5 100644 --- a/scripts/obs/lib/debian.py +++ b/scripts/obs/lib/debian.py @@ -113,7 +113,7 @@ pass
# Debian versions must start with a digit - if version.startswith("osmo-epdg-"): + if "osmo-epdg-" in version: version = f"{version.replace('osmo-epdg-', '', 1)}-osmo-epdg"
version = version.replace("-", ".")