From: Dan Scott Date: Thu, 27 Sep 2012 03:13:41 +0000 (-0400) Subject: Teach make_release to set the eg_version var X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=367f0ad2b96c81b0a43d5070f35c09315e8f5a19;p=evergreen%2Fpines.git Teach make_release to set the eg_version var Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/build/tools/make_release b/build/tools/make_release index 8769b0e407..516fe9ca4b 100755 --- a/build/tools/make_release +++ b/build/tools/make_release @@ -220,6 +220,7 @@ if [ $PREV_BRANCH != "PACKAGE" ]; then elif [ -n "$UPGRADE_CHECK" ]; then echo "Found Upgrade Files! Building Upgrade Script." echo "--Upgrade Script for $PREV_VERSION to $VERSION" > $UPGRADE_FILE + echo "\set eg_version '''$VERSION'''" echo "BEGIN;" >> $UPGRADE_FILE grep "config.upgrade_log.*$VERSION" Open-ILS/src/sql/Pg/002.schema.config.sql >> $UPGRADE_FILE for NUM in $UPGRADE_CHECK; do