We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26fd5d commit 94832ceCopy full SHA for 94832ce
tasks/release.py
@@ -26,11 +26,11 @@ def main(version_str: str) -> None:
26
27
28
def create_release_branch(repo: Repo, version: Version) -> Tuple[Remote, Head]:
29
- print("create release branch from upstream master")
+ print("create release branch from upstream legacy")
30
upstream = get_upstream(repo)
31
upstream.fetch()
32
branch_name = f"release-{version}"
33
- release_branch = repo.create_head(branch_name, upstream.refs.master, force=True)
+ release_branch = repo.create_head(branch_name, upstream.refs.legacy, force=True)
34
upstream.push(refspec=f"{branch_name}:{branch_name}", force=True)
35
release_branch.set_tracking_branch(repo.refs[f"{upstream.name}/{branch_name}"])
36
release_branch.checkout()
0 commit comments