20-makedist-autobuild cron: support for "ANY" as WEEKDAY argument to set for building every day

This commit is contained in:
Silvan Calarco 2022-09-08 14:35:16 +02:00
parent 9208e5330f
commit 910cd4cc53
2 changed files with 2 additions and 1 deletions

View File

@ -377,6 +377,7 @@ for i in `seq 0 $ALLMEDIASLAST`; do
echo "Releasing $PRODUCT_NAME media (${PLATFORM}/${SUBPLATFORM} $RELEASETAG)"
SIMULATE=1
elif [ "$WEEKDAY" = "${MEDIA_WEEKDAY[i]}" -o \
"${MEDIA_WEEKDAY[i]}" = "ANY" -o \
"$FORCEBUILD" = "$PRODUCT_NAME" ]; then
echo "Building $PRODUCT_NAME media"
unset SIMULATE

View File

@ -26,7 +26,7 @@ MAKEDIST_CRON_ENABLE=0
#
# media configuration
#
# DAY: 1=monday ... 7=sunday
# DAY: 1=monday ... 7=sunday "ANY"=any day
if [ "$RELEASE" ]; then
case "$DISTVERSION" in
# milestone1)