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)" echo "Releasing $PRODUCT_NAME media (${PLATFORM}/${SUBPLATFORM} $RELEASETAG)"
SIMULATE=1 SIMULATE=1
elif [ "$WEEKDAY" = "${MEDIA_WEEKDAY[i]}" -o \ elif [ "$WEEKDAY" = "${MEDIA_WEEKDAY[i]}" -o \
"${MEDIA_WEEKDAY[i]}" = "ANY" -o \
"$FORCEBUILD" = "$PRODUCT_NAME" ]; then "$FORCEBUILD" = "$PRODUCT_NAME" ]; then
echo "Building $PRODUCT_NAME media" echo "Building $PRODUCT_NAME media"
unset SIMULATE unset SIMULATE

View File

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