bumpGitVersion-GitVersion.S3-method: Bump Git Version Number

Description Usage Arguments Value Author(s) References See Also Examples

Description

See generic: bumpGitVersion

Usage

1
2
3
  ## S4 method for signature 'GitVersion.S3'
bumpGitVersion(project = devtools::as.package(".")$package,
  temp_credentials = FALSE, .ns = NULL, ...)

Arguments

project

character. Name of the project under Git version control.

temp_credentials

logical. TRUE: delete HTTPS credentials after each bump; FALSE: permanently store HTTPS credentials in _netrc file. See details.

.ns

GitVersion.S3.

...

Further arguments to be passed to subsequent functions/methods.

Value

list. (old and new version number and the git tag (git_tag) or list() if the function exited before completing the bump.

Author(s)

Janko Thyson janko.thyson@gmail.com

References

http://github.com/jankothyson/bumpr

See Also

bumpGitVersion, bumpPackageVersion

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 

##------------------------------------------------------------------------------
## DISCLAIMER  
##------------------------------------------------------------------------------

## Please that with repositories that are not crucial for your productive work!

## Make sure that you set your working directory to your package
## project's root directory and that you've read and understood the 
## assumptions that this function makes!
  
bumpGitVersion()


## End(Not run)

rappster/bumpr documentation built on May 26, 2019, 11:09 p.m.