[neon/neon-packaging/liborigin/Neon/release] debian: add funky versionmangle to allow semantic versioning to get around old date based versioning

Carlos De Maine null at kde.org
Wed Apr 12 02:32:42 BST 2023


Git commit 237a7f86a5b7e450988fe639c0eef0a478e93aae by Carlos De Maine.
Committed on 12/04/2023 at 01:32.
Pushed by carlosdem into branch 'Neon/release'.

add funky versionmangle to allow semantic versioning to get around old date based versioning

M  +1    -1    debian/watch

https://invent.kde.org/neon/neon-packaging/liborigin/commit/237a7f86a5b7e450988fe639c0eef0a478e93aae

diff --git a/debian/watch b/debian/watch
index 8530d41..76c245d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=4
-options=uversionmangle="^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$"/
+opts=versionmangle=s/200/0.200/,searchmode=plain \
 https://sf.net/liborigin/liborigin-(.+)\.(?:tar\.gz)
 
 


More information about the Neon-commits mailing list