Skip to content
Snippets Groups Projects
Commit 09f9737d authored by david_williams's avatar david_williams
Browse files

add pack200 to promote script

parent 6d540ce6
No related branches found
No related tags found
No related merge requests found
......@@ -25,13 +25,15 @@ BUILD_BRANCH=$2
BUILD_ID=$3
STATS_TAG_SUFFIX=$4
if [[ -z REPO ]]
if [[ -z "${REPO}" ]]
then
echo "ERROR: this script requires a repository to add properties to.";
exit 1;
fi
echo "BUILD_BRANCH: ${}
echo "BUILD_BRANCH: ${BUILD_BRANCH}";
echo "BUILD_ID: ${BUILD_ID}";
echo "STATS_TAG_SUFFIX: ${STATS_TAG_SUFFIX}";
if [[ \( ! \( -z "${BUILD_BRANCH"} \) \) -a \( ! \( -z "${BUILD_ID}" \) \) ]]
then
......
......@@ -187,11 +187,16 @@ fi
# TODO: we currently do not add properties to tests repo ... maybe should? for mirror URL, at least.
# TODO: a fourth argument can be specified to provide stats suffix
# such as _helios_SR2, _indigo_SR0 ... but, takes some customization updated fairly often, to be accurate.
if [[ $addProperties -a \( -d "${repoDirLocation}" \) ]]
then
${RELENG_CONTROL}/addRepoProperties.sh "${repoDirLocation}" "${buildBranch}" "${dropDirName}"
fi
if [[ $addProperties ]]
then
repoDirLocation=$FROMDIR/repository
if [[ -d "${repoDirLocation}" ]]
then
${RELENG_CONTROL}/addRepoProperties.sh "${repoDirLocation}" "${buildBranch}" "${dropDirName}"
else
echo "ERROR: addProperties requested, but repo location does not exist: ${repoDirLocation}";
fi
fi
if [ "patches" == $distribution ]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment