aboutsummaryrefslogtreecommitdiffstats
path: root/community/fwupd/fix-version.patch
blob: 37e6759dd4e26914dd7626a5bb6d5aa2775de56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
get_version_git() uses git describe which describes the aports repo, it is supposed to fail and use get_version() instead

diff --git a/contrib/get-version.py b/contrib/get-version.py
index 0a678ca..f6fe0d7 100755
--- a/contrib/get-version.py
+++ b/contrib/get-version.py
@@ -39,9 +39,4 @@ def get_version():
 
 if __name__ == '__main__':
 
-    version = get_version_git()
-    if version:
-        version = sanitize_for_ci(version)
-    else:
-        version = get_version()
-    print(version)
+    print(get_version())