updateNEWS: Add the last commit messages since a 'version bump' to...

View source: R/updateNEWS.R

updateNEWSR Documentation

Add the last commit messages since a 'version bump' to NEWS.md

Description

Take the last series of Git commit messages and append them to the NEWS.md file for updating.

Usage

updateNEWS(
  pkgDir = ".",
  vpattern = "Changes in version",
  git_log_pattern = "version bump|bump version"
)

Arguments

pkgDir

The package directory to be build usually the current working directory (i.e., ".")

vpattern

The set of keywords in the NEWS.md file header that denotes a section, e.g., ⁠Changes in version⁠ or the 'pkgname'.

git_log_pattern

The words that delimit the last version bump in the package; by default either ⁠version bump⁠ or ⁠bump version⁠.

Examples


updateNEWS(pkgDir = ".", vpattern = "BiocAddins")


Bioconductor/BiocAddins documentation built on July 5, 2025, 3:21 a.m.