Learn R Programming

precommit (version 0.0.0.9041)

release_gh: Create a new release on GitHub

Description

This must be done before a CRAN release.

Usage

release_gh(bump = "dev")

Arguments

bump

The bump increment, either "dev", "patch", "minor" or "major".

Details

  • bump description.

  • update default config in inst/

  • commit

  • git tag

  • run inst/consistent-release-tag hook with --release-mode (passing args to hooks not possible interactively, hence we run in advance).

  • commit and push with skipping inst/consistent-release-tag.

  • autoupdate own config file

  • bump description with dev

  • commit and push DESCRIPTION and .pre-commit-config.yaml