mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
scripts: Fix dry run for cut-release-branch.sh
Signed-off-by: Eli Uriegas <eliuriegasfb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/77978 Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Approved by: https://github.com/suo, https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
844368c032
commit
4220799ea7
@ -43,7 +43,7 @@ for branch in "release/${RELEASE_VERSION}" "orig/release/${RELEASE_VERSION}"; do
|
||||
set -x
|
||||
git checkout "${GIT_REMOTE}/${GIT_BRANCH_TO_CUT_FROM}"
|
||||
git checkout -b "${branch}"
|
||||
git push "${GIT_REMOTE}" "${branch}"
|
||||
git push -q ${DRY_RUN_FLAG} "${GIT_REMOTE}" "${branch}"
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user