20-makedist-autobuild cron: support for "ANY" as WEEKDAY argument to set for building every day
This commit is contained in:
parent
9208e5330f
commit
910cd4cc53
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user