Skip to content

Releases: rudikershaw/git-build-hook

3.5.0

30 Apr 21:04
Compare
Choose a tag to compare

Adds the following skip parameters to allow users to skip the use of a particular Mojo during the build;

  • gitbuildhook.init.skip
  • gitbuildhook.install.skip
  • gitbuildhook.gitconfig.skip

3.4.1

05 Mar 23:02
e8471cd
Compare
Choose a tag to compare
  • Speculative fix for thread safety issues.

3.4.0

04 Mar 14:49
d3b14e4
Compare
Choose a tag to compare
  • Fixed and issue where the configure goal would fail when running the plugin in a git worktree. Changing the configure goal configuration in a worktree will not take affect until a build is run with those changes outside of the worktree.
  • The readonly attribute (which shouldn't have been there in the first place) was removed from some goal parameters. This removes some annoying warnings from the build output.
  • Temporary test artefacts from development of this plugin will not longer be deployed to Maven Central with the main artefact.

3.3.0

23 Aug 20:01
6e935df
Compare
Choose a tag to compare

Added support for all hooks that exist as of Git 2.37.2.

3.2.0

03 Apr 20:11
1b12221
Compare
Choose a tag to compare

Improvements

  • Makes the initialize goal thread safe.
  • Mark the initialize and configure goals thread safe for Maven builds to prevent associated warning messages when running multi-threaded builds.

3.1.0

26 Apr 12:46
38e62ca
Compare
Choose a tag to compare

New Features

  • Pull in specific hooks into the default hooks directory from the classpath rather than from the project directory.
  • Add support for pre merge hooks.

3.0.0

23 Oct 08:08
Compare
Choose a tag to compare

Improvements

  • The configure goal has been generalized and will now set any git config on your project you like, rather than just the core.hooksPath configuration.
  • Both the configure and install goals have moved their maven plugin configuration moved into their own elements to separate them from each other. Please see the updated README for more details.

Migration

  • The legacy configuration for both configure and install will not be supported for 3.0.0, and so you will need to update your plugin configuration when updating to this version

2.1.0

21 Sep 19:53
Compare
Choose a tag to compare

Add a new goal configure, which allows you to leverage the ability in Git to specify a custom directory for your hooks. It is now described as the default way of using the plugin in the documentation.

2.0.3

10 Sep 16:07
Compare
Choose a tag to compare

Reduce the per-requisite Maven version to 3.0.0

2.0.2

07 Feb 21:54
84a697d
Compare
Choose a tag to compare

A bug was identified where replaying an existing hook would fail. This has been corrected. The git hooks specified in the plugin configuration will now be replaced every time the build is run with the specified file. Updates to this file will now be transferred to the applied hook with each build.