Skip to content

Commit

Permalink
Get the branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
karajan1001 committed Jul 27, 2021
1 parent 770e5bc commit 15036f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dvc/repo/experiments/executor/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def checkpoint_callback(
from dvc.repo.experiments.push import push

branch = scm.get_ref(EXEC_BRANCH, follow=False)
branch_name = ExpRefInfo.from_ref(branch).name
push(
dvc,
git_remote,
Expand Down

0 comments on commit 15036f3

Please sign in to comment.