[PATCH util-modular] release.sh: add evemu special hooks
Peter Hutterer
peter.hutterer at who-t.net
Wed Nov 12 16:47:47 PST 2014
On Tue, Nov 11, 2014 at 12:04:31PM -0500, Benjamin Tissoires wrote:
> 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.
pushed, thanks.
14a18b7..65cb27b master -> master
Cheers,
Peter
> 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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list