osmith has uploaded this change for review. (
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/872be0a93…
Change-Id: I7abcf82a78fd4c4f6d29d2717dad5c70bc50e683
---
M scripts/obs/lib/debian.py
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/49/37649/1
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("-", ".")
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/37649?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I7abcf82a78fd4c4f6d29d2717dad5c70bc50e683
Gerrit-Change-Number: 37649
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange