From f3800174aa437bf82f9e3f1061d211304f4b0a33 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 21 Aug 2017 14:40:26 -0300 Subject: Consider RC as RELEASE --- tools/builder_common.sh | 2 +- tools/builder_defaults.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/builder_common.sh b/tools/builder_common.sh index b5b504e..1c86116 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -712,7 +712,7 @@ customize_stagearea_for_image() { # staging server during build phase if [ -n "${USE_PKG_REPO_STAGING}" ]; then _read_cmd="select value from repodata where key='packagesite'" - if [ -n "${_IS_RELEASE}" ]; then + if [ -n "${_IS_RELEASE}" -o -n "${_IS_RC}" ]; then local _tgt_server="${PKG_REPO_SERVER_RELEASE}" else local _tgt_server="${PKG_REPO_SERVER_DEVEL}" diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index d372b10..cac0743 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -284,7 +284,7 @@ else export PKG_REPO_BRANCH_STAGING=${PKG_REPO_BRANCH_STAGING:-${PKG_REPO_BRANCH_DEVEL}} fi -if [ -n "${_IS_RELEASE}" ]; then +if [ -n "${_IS_RELEASE}" -o -n "${_IS_RC}" ]; then export PKG_REPO_SIGN_KEY=${PKG_REPO_SIGN_KEY:-"release${PRODUCT_NAME_SUFFIX}"} else export PKG_REPO_SIGN_KEY=${PKG_REPO_SIGN_KEY:-"beta${PRODUCT_NAME_SUFFIX}"} -- cgit v1.1