Skip to content

Commit

Permalink
Merge pull request #24 from cynkra/f-21
Browse files Browse the repository at this point in the history
Copy local project git config to temporary drat dir
  • Loading branch information
pat-s authored Jun 17, 2021
2 parents ace725d + b0db345 commit 960ba51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/deploy.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ deploy_minicran_package <- function(drat_repo,
pkgname <- desc::desc_get("Package")
pkgversion <- desc::desc_get_version()

# copy git config in case config is not set globally
file.copy(".git/config", file.path(drat_dir, ".git/config"), overwrite = TRUE)

withr::with_dir(
drat_dir,
withr::with_options(
Expand Down

0 comments on commit 960ba51

Please # to comment.