Thanks to visit codestin.com Credit goes to github.com
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 ca04bf7 commit 5d32046Copy full SHA for 5d32046
1 file changed
tasks/release.py
@@ -27,11 +27,11 @@ def main(version_str: str) -> None:
27
28
29
def create_release_branch(repo: Repo, version: Version) -> Tuple[Remote, Head]:
30
- print("create release branch from upstream master")
+ print("create release branch from upstream legacy")
31
upstream = get_upstream(repo)
32
upstream.fetch()
33
branch_name = f"release-{version}"
34
- release_branch = repo.create_head(branch_name, upstream.refs.master, force=True)
+ release_branch = repo.create_head(branch_name, upstream.refs.legacy, force=True)
35
upstream.push(refspec=f"{branch_name}:{branch_name}", force=True)
36
release_branch.set_tracking_branch(repo.refs[f"{upstream.name}/{branch_name}"])
37
release_branch.checkout()
0 commit comments