Skip to content

Commit 1bd9395

Browse files
committed
Minor bug fix in the post-release script
ghstack-source-id: 0ce791c Pull Request resolved: #2705
1 parent 853fb5b commit 1bd9395

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)