Create or Update release branch of a GH repo
sync_release_branch.Rd
This function checks if a GitHub repository has a release branch. If a release branch exists, it updates it with the latest DEV
branch.
If no release branch exists, it creates a new one from DEV
Usage
sync_release_branch(
owner = getOption("pipfun.ghowner"),
repo,
ref_branch = "DEV",
target_branch = NULL,
verbose = FALSE
)
Arguments
- owner
Character. The GitHub owner or organization name. Defaults to
getOption("pipfun.ghowner")
- repo
Character. The name of the repository.
- ref_branch
Character. The branch from which the release branch should be created or updated. Defaults to
"DEV"
- release
TBC
- identity
Character. The identity used for naming the new branch if created. One of
getOption("pipfun.identities")