#!/bin/bash
+. "$(dirname $0)/common.sh"
+
# Don't do releases in the wee hours :-)
h=$(date '+%H')
(( "$h" < 10 && "$h" > 4 )) && {
Name Type URL
---- ---- ---' > Next/Trees
+(
IFS=' '
while read email type name url ref build; do
[[ "$email" =~ '^#.*$' ]] && continue
[ $(echo "$name" | wc -c) -le 8 ] && tab="\t\t"
[ "${ref%:*}" = "${ref}" ] || ref=${ref##*:}
[ "$type" = "git" ] && url="$url#$ref"
- printf "%s$tab%s\t%s\n" $name $type $url
-done <../real_control >>Next/Trees
+ printf "%s$tab%s\t%s\n" $name $type $url >>Next/Trees
+done <$CTRL_FILE
+)
mv ../SHA1s Next/SHA1s
gpg2 -u 41D5C07A -a -b "../$p"
#echo "$l" > "../LATEST-IS-$n"
-$(dirname $0)/make_abat_scripts "$d" "$l"
+"$bin_dir/make_abat_scripts" "$d" "$l"
oldest=$(date --date "3 months ago" '+%Y%m%d')
echo "Removing old releases ... <= next-$oldest"