From edb3958a32826a8f2acbd6a7a6c5fa5d2da0a1c9 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Mon, 30 May 2016 13:01:45 -0400 Subject: [PATCH] LP 1583608: The make_release script always makes a db upgrade script. Alter make_release to always create a db upgrade script, even when no actual db upgrades need to be applied. The minimal script created will at least set the upgrade version in config.upgrade_log. Signed-off-by: Jason Stephenson --- build/tools/make_release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tools/make_release b/build/tools/make_release index c738355304..058ae5f153 100755 --- a/build/tools/make_release +++ b/build/tools/make_release @@ -246,8 +246,8 @@ if [ "$PREV_BRANCH" != "PACKAGE" ]; then if [ -f "$UPGRADE_FILE" ]; then echo "Upgrade script for $PREV_VERSION-$VERSION already exists. Skipping." UPGRADE_FILE="" - elif [ -n "$UPGRADE_CHECK" ]; then - echo "Found Upgrade Files! Building Upgrade Script." + else + echo "Building Upgrade Script." echo "--Upgrade Script for $PREV_VERSION to $VERSION" > $UPGRADE_FILE echo "\set eg_version '''$VERSION'''" >> $UPGRADE_FILE echo "BEGIN;" >> $UPGRADE_FILE -- 2.11.0