Skip to content

Commit 94832ce

Browse files
committed
Fix release script
Signed-off-by: Bernát Gábor <[email protected]>
1 parent b26fd5d commit 94832ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def main(version_str: str) -> None:
2626

2727

2828
def create_release_branch(repo: Repo, version: Version) -> Tuple[Remote, Head]:
29-
print("create release branch from upstream master")
29+
print("create release branch from upstream legacy")
3030
upstream = get_upstream(repo)
3131
upstream.fetch()
3232
branch_name = f"release-{version}"
33-
release_branch = repo.create_head(branch_name, upstream.refs.master, force=True)
33+
release_branch = repo.create_head(branch_name, upstream.refs.legacy, force=True)
3434
upstream.push(refspec=f"{branch_name}:{branch_name}", force=True)
3535
release_branch.set_tracking_branch(repo.refs[f"{upstream.name}/{branch_name}"])
3636
release_branch.checkout()

0 commit comments

Comments
 (0)