You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/03/17 04:33:18 UTC
[GitHub] [beam] kennknowles commented on a change in pull request #14213: Add release script to choose a commit for an RC
kennknowles commented on a change in pull request #14213:
URL: https://github.com/apache/beam/pull/14213#discussion_r595705726
##########
File path: release/src/main/scripts/build_release_candidate.sh
##########
@@ -102,31 +104,12 @@ if [[ $confirmation = "y" ]]; then
fi
mkdir -p ${LOCAL_CLONE_DIR}
cd ${LOCAL_CLONE_DIR}
- git clone ${GIT_REPO_URL}
+ git clone --depth 1 --branch "${RC_TAG}" ${GIT_REPO_URL} "${BEAM_ROOT_DIR}"
cd ${BEAM_ROOT_DIR}
- git checkout ${RELEASE_BRANCH}
- RELEASE_COMMIT=$(git rev-parse --verify ${RELEASE_BRANCH})
echo "-------------Building Java Artifacts with Gradle-------------"
git config credential.helper store
- if git rev-parse "v${RELEASE}-RC${RC_NUM}" >/dev/null 2>&1; then
Review comment:
Let me test. I think that it will already just mv the tag.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org