summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrelease.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/release.sh b/release.sh
index 345ca09..cdb38f0 100755
--- a/release.sh
+++ b/release.sh
@@ -203,6 +203,21 @@ get_section() {
local module_url
local full_module_url
+ section=`git config --get xorg.section`
+ if [ x"$section" = xcustom ]; then
+ xorg_user=`git config --get xorg.user`
+ xorg_project=`git config --get xorg.project`
+ if [ -z $xorg_user ]; then
+ echo "Configure your xorg username with 'git config xorg.user <username>'"
+ return 1
+ fi
+ if [ -z $xorg_project ]; then
+ echo "Configure your xorg project name with 'git config xorg.project <project_name>'"
+ return 1
+ fi
+ return 0
+ fi
+
# Obtain the git url in order to find the section to which this module belongs
full_module_url=`git config --get remote.$remote_name.url | sed 's:\.git$::'`
if [ $? -ne 0 ]; then
@@ -497,6 +512,7 @@ process_module() {
host_xorg="xorg.freedesktop.org"
host_dri="dri.freedesktop.org"
host_wayland="wayland.freedesktop.org"
+ host_people="people.freedesktop.org"
# Mailing lists where to post the all [Announce] e-mails
list_to="xorg-announce@lists.freedesktop.org"
@@ -527,6 +543,13 @@ process_module() {
list_cc=$list_xcb
fi
+ # Custom modules go on people.freedesktop.org.
+ if [ x"$section" = xcustom ]; then
+ host_current=$host_people
+ section_path="~$xorg_user/$xorg_project"
+ srv_path="/home/$xorg_user/public_html/$xorg_project"
+ fi
+
# Module mesa/drm goes in the dri "libdrm" section
if [ x"$section" = xdrm ]; then
host_current=$host_dri