[PATCH RFC:modular] release.sh: Attempt to autodetect section and current/previous tags

2011-09-16 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith --- release.sh | 71 --- 1 files changed, 57 insertions(+), 14 deletions(-) An update to the version I've been using for about a year - after a discussion at XDC with Keith about adding section autodetectio

Re: [PATCH RFC:modular] release.sh: Attempt to autodetect section and current/previous tags

2011-09-16 Thread Gaetan Nadon
On Fri, 2011-09-16 at 11:11 -0700, Alan Coopersmith wrote: > Signed-off-by: Alan Coopersmith > --- > release.sh | 71 --- > 1 files changed, 57 insertions(+), 14 deletions(-) > > An update to the version I've been using for about a year

Re: [PATCH RFC:modular] release.sh: Attempt to autodetect section and current/previous tags

2011-09-21 Thread Jeremy Huddleston
On Sep 16, 2011, at 12:38, Gaetan Nadon wrote: >> + >> +# Attempt to auto-detect values if not specified >> +if [ -z "$section" ]; then >> +section="$(git config --get "remote.${remote}.url" | sed -n >> 's%^.*freedesktop.org/git/xorg/\([^/]*\).*$%\1%p')" > > The parsing of the git url will