Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
[Edgent-385] fix stage_release_candidate.sh
Browse files Browse the repository at this point in the history
- stage the correct file to binaries/LICENSE
- handle svn case of add of initial staged edgent-<ver> dir
- fix the svn commit cmd's msg quoting
  • Loading branch information
dlaboss committed Feb 27, 2017
1 parent 4744f56 commit b42c59d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions buildTools/stage_release_candidate.sh
Expand Up @@ -109,10 +109,14 @@ cp RELEASE_NOTES ${SVN_RC_DIR}
cp ${BUNDLE_DIR}/*-src.* ${SVN_RC_DIR}

mkdir -p ${SVN_RC_DIR}/binaries
cp LICENSE ${SVN_RC_DIR}/binaries
cp binary-release/LICENSE ${SVN_RC_DIR}/binaries
cp ${BUNDLE_DIR}/*-bin.* ${SVN_RC_DIR}/binaries

(set -x; svn add ${SVN_RC_DIR})
if [ ! `svn info --show-item url ${SVN_VER_DIR} 2>/dev/null` ]; then
(set -x; svn add ${SVN_VER_DIR})
else
(set -x; svn add ${SVN_RC_DIR})
fi

echo
(set -x; svn status ${SVN_DEV_EDGENT})
Expand All @@ -121,7 +125,7 @@ echo
echo "If you choose not to proceed, you can later run the following to commit the changes:"
echo " (cd ${SVN_DEV_EDGENT}; svn commit -m \"Add Apache Edgent ${VER}-incubating/rc${RC_NUM}\")"
confirm "Proceed to commit the changes?" || exit
(set -x; cd ${SVN_DEV_EDGENT}; svn commit -m \"Add Apache Edgent ${VER}-incubating/rc${RC_NUM}\")
(set -x; cd ${SVN_DEV_EDGENT}; svn commit -m "Add Apache Edgent ${VER}-incubating/rc${RC_NUM}")

echo
echo "The KEYS and ${RC_TAG} have been staged to ${EDGENT_ASF_SVN_RC_URL}"

0 comments on commit b42c59d

Please sign in to comment.