0.18.0
This release decouples reckon from grgit, using direct JGit
for version inference and CLI Git for tag creation and pushes. The motivation is selfishly just to simplify maintenance of reckon.
For most cases, this should be a transparent change, but it does have a few potentially user-facing effects:
- You have to have
git
installed (which you almost certainly do) - If you use
reckonTagPush
, you must have your credentials set up already in some way that won't require a prompt (basic auth creds, SSH agent, whatever). The oldorg.ajoberstar.grgit.*
properties orGRGIT_*
environment variables are no longer used.
Generally, we will be using the current user's identity (user.email
and user.name
) to create the tag. In cases where that information is not present (for example, in GitHub Actions), we'll use the author identity from the most recent commit.
This release contains a couple other small changes as well, see below.
Breaking Changes
- #196 grgit is completely removed from reckon (affecting authentication and tagging)
- #195
defaultInferredScope
no longer defaults tominor
and must be set explicitly
Enhancements
- #175 The
Scope
enum is now accepted fordefaultInferredScope
andparallelBranchScope
Fixes
- #91 You can run your build with
--info
to see status details from JGit if reckon fails due to an unclean repo
Deprecations
None
Compatibility
Tested against the following versions.
Java Version | Gradle Versions |
---|---|
11 | 7.0.2, 7.6.1, 8.0.2, 8.1.1 |
17 | 7.3.3, 7.6.1, 8.0.2, 8.1.1 |