[PATCH util-modular] release.sh: add evemu special hooks

Benjamin Tissoires benjamin.tissoires at gmail.com
Tue Nov 11 09:04:31 PST 2014


Evemu is a freedesktop project and can benefit from release.sh

One special case has been added to match the tag format used internally
(vX.Y.Z)

Signed-off-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
---

It would be nice if release.sh could also handle evemu.

Cheers,
Benjamin

 release.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/release.sh b/release.sh
index 345ca09..ef384de 100755
--- a/release.sh
+++ b/release.sh
@@ -217,7 +217,7 @@ get_section() {
 	module_url=`echo $module_url | cut -d'/' -f3,4`
     else
 	# The look for mesa, xcb, etc...
-	module_url=`echo "$full_module_url" | $GREP -o -e "/mesa/.*" -e "/xcb/.*" -e "/xkeyboard-config" -e "/nouveau/xf86-video-nouveau" -e "/libevdev" -e "/wayland/.*"`
+	module_url=`echo "$full_module_url" | $GREP -o -e "/mesa/.*" -e "/xcb/.*" -e "/xkeyboard-config" -e "/nouveau/xf86-video-nouveau" -e "/libevdev" -e "/wayland/.*" -e "/evemu"`
 	if [ $? -eq 0 ]; then
 	     module_url=`echo $module_url | cut -d'/' -f2,3`
 	else
@@ -402,6 +402,11 @@ process_module() {
 	tag_name="$pkg_version"
     fi
 
+    # evemu tag with the version number prefixed by 'v'
+    if [ x"$section" = xevemu ]; then
+        tag_name="v$pkg_version"
+    fi
+
     gpgsignerr=0
     siggz="$(sign_or_fail ${targz})"
     gpgsignerr=$((${gpgsignerr} + $?))
@@ -564,6 +569,12 @@ process_module() {
         srv_path="/srv/$host_current/www/$section_path"
         list_to=$list_wayland
         unset list_cc
+    elif [ x"$section" = xevemu ]; then
+        host_current=$host_fdo
+        section_path="software/evemu"
+        srv_path="/srv/$host_current/www/$section_path"
+        list_to=input-tools at lists.freedesktop.org
+        unset list_cc
     fi
 
     # Use personal web space on the host for unit testing (leave commented out)
-- 
1.9.3



More information about the xorg-devel mailing list