Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate replacing test-infra release branch (#4577)
Thanks to @atalman works in #4515 and @osalpekar example in https://github.com/pytorch/vision/pull/7929/files, this change applies the same step to test-infra to automate its release branch. From what I see in https://github.com/pytorch/test-infra/commits/release/2.1, this seems to be the only required steps to replace main with release branch. ### Testing Run `GIT_BRANCH_TO_CUT_FROM=main RELEASE_VERSION=2.1 DRY_RUN=disabled release/cut-release-branch.sh` to cut release branch for test-infra in my own fork repo https://github.com/huydhn/test-infra/commits/release/2.1 Fixes #4570
- Loading branch information