Draft a GitHub releaseSource:
Creates a draft GitHub release for the current package. Once you are satisfied that it is correct, you will need to publish the release from GitHub. The key pieces of info are which commit / SHA to tag, the associated package version, and the relevant NEWS entries.
If you use
devtools::submit_cran() to submit to
CRAN, information about the submitted state is captured in a CRAN-SUBMISSION
or CRAN-RELEASE file.
use_github_release() uses this info to populate the
draft GitHub release and, after success, deletes the CRAN-SUBMISSION or
In the absence of such a file, we must fall back to assuming the current
state (SHA of
HEAD, package version, NEWS) is the submitted state.