Skip to content

Commit

Permalink
Merge pull request #371 from Kostov6/bugfix/e2e
Browse files Browse the repository at this point in the history
Fix checking out empty `current_branch`
  • Loading branch information
RadaBDimitrova authored Jan 13, 2025
2 parents b042463 + 11d526b commit b7e3bd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .ci/e2e
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,9 @@ rm -rf "${PR_content}/__resources"
diff -r "$content" "$PR_content"

pushd "$docforge_repo_path"
git checkout "$current_branch"
if [[ -n "$current_branch" ]]; then
git checkout "$current_branch"
else
echo "current_branch is empty"
fi
mv "VERSION_PR" "VERSION"

0 comments on commit b7e3bd7

Please sign in to comment.