[scripts] iso_build.sh: make possible to override SABAYON_RELEASE for the monthly release

This commit is contained in:
Fabio Erculiani
2013-07-01 13:33:46 +02:00
parent dcff984f28
commit 5e2c82367c

View File

@@ -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