git_tag: Create a Git Tag Based on the Current Version Number

View source: R/git.R

git_tagR Documentation

Create a Git Tag Based on the Current Version Number

Description

This is basically the same as git tag -a T -m M where T is the version read from the package's DESCRIPTION file and M is given by message (see below).

Usage

git_tag(path = ".", tag_uncommited = FALSE, message = "CRAN release")

Arguments

path

Path to the package.

tag_uncommited

Tag if there are uncommitted changes?

message

The tag message to be used.

Value

FALSE or the value of gert::git_tag_list.

See Also

Other git wrappers: git_add_commit()


packager documentation built on Aug. 16, 2023, 5:08 p.m.