From 5e2c82367c2cf67a2f0de85f3531bc2ba3bbb175 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 1 Jul 2013 13:33:46 +0200 Subject: [PATCH] [scripts] iso_build.sh: make possible to override SABAYON_RELEASE for the monthly release --- scripts/iso_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/iso_build.sh b/scripts/iso_build.sh index a8288bd..10bdbf4 100755 --- a/scripts/iso_build.sh +++ b/scripts/iso_build.sh @@ -175,7 +175,7 @@ elif [ "${ACTION}" = "dailybase" ]; then ) elif [ "${ACTION}" = "monthly" ] || [ "${ACTION}" = "release" ]; then - if [ "${ACTION}" = "monthly" ]; then + if [ "${ACTION}" = "monthly" ] && [ -z "${SABAYON_RELEASE}" ]; then # always one month ahead SABAYON_RELEASE=$(/bin/date -u --date="$(/bin/date -u +%g-%m-%d) +1 month" "+%g.%m") fi