R/api-tag-version.R

Defines functions tag_version

Documented in tag_version

#' Create a new version tag
#'
#' Parses `NEWS.md` and creates/updates the tag for the most recent version.
#'
#' @param force Re-tag even if the last commit wasn't created by
#'   [bump_version()].  Useful when defining a CRAN release.
#'
#' @return The created tag, invisibly.
#'
#' @example man/examples/tag-version.R
#'
#' @return None
#' @export
tag_version <- function(force = FALSE) {
  tag <- tag_version_impl(force)
  invisible(tag)
}

Try the fledge package in your browser

Any scripts or data that you put into this service are public.

fledge documentation built on May 29, 2024, 8:59 a.m.