Skip to content

Commit 2449326

Browse files
guangy10facebook-github-bot
authored andcommitted
Minor bug fix in the post-release script (#2705)
Summary: Pull Request resolved: #2705 imported-using-ghimport Test Plan: Imported from OSS Reviewed By: mergennachin Differential Revision: D55408595 Pulled By: guangy10 fbshipit-source-id: 36a202c31cc4ca660bcbacad63f00fc32132e3b4
1 parent bf96c4d commit 2449326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/apply-release-changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RELEASE_BRANCH="release/${RELEASE_VERSION}"
2626

2727
if git ls-remote --exit-code origin ${RELEASE_BRANCH} >/dev/null 2>&1; then
2828
echo "Check out to Release Branch '${RELEASE_BRANCH}'"
29-
git checkout -b ${RELEASE_BRANCH}
29+
git checkout ${RELEASE_BRANCH}
3030
else
3131
echo "Error: Remote branch '${RELEASE_BRANCH}' not found. Please run 'cut-release-branch.sh' first."
3232
exit 1

0 commit comments

Comments
 (0)