Skip to content

Commit

Permalink
feat: Adds branch from main semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed Jan 3, 2024
1 parent 978a83d commit 176fcf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure_presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def __create_branches(current_projects: List[str],
for project in current_projects:
project_params = projects[project]
branch_name = f'{project_params["branch"]}_{current_year}_{next_weeknum}'
subprocess.check_call(
['git', 'checkout', 'main']
)
subprocess.check_call(
['git', 'checkout', '-b', branch_name]
)
Expand Down

0 comments on commit 176fcf5

Please sign in to comment.