releases/tools/mkteampage.sh
Doug Hellmann a65d9f5c3d add team pages
Add pages to show the work each team has produced. For now, only
official teams using cycle-based release models are included. In a later
phase we will add deliverables that are currently listed as indepdent.

Change-Id: Ieb54aa7a4d2f58f462692e295c8f19978d5baa73
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-13 10:57:44 -04:00

26 lines
376 B
Bash
Executable File

#!/bin/bash
PROJ=$1
SERIES=$(ls deliverables/*/*${PROJ}* | cut -f2 -d/ | sort -ru)
function line {
typeset c="$1"
sed -e "s/./$c/g"
}
echo =${PROJ}= | line =
echo " ${PROJ^}"
echo =${PROJ}= | line =
echo
for s in $SERIES
do
echo ${s^}
echo $s | line =
echo
echo ".. deliverable::"
echo " :series: $s"
echo " :team: $PROJ"
echo
done