Gradle Git Versions Save

Git plugin for Gradle

1.7.2

6 years ago

This is a fix release to update to the latest grgit.

Enhancements

None

Fixes

  • Update to grgit 1.9.3

Compatibility

Java: requires 7 or higher

v1.7.1

7 years ago

This is a fix release dealing with a few minor issues.

Enhancements

None

Fixes

  • #250 Username-only credentials would throw an exception
  • #252 Rebuild release strategy would cause problems with model rules and evaluationDependsOnChildren

Compatibility

Java: requires 7 or higher

v1.7.0

7 years ago

This release targets issues present in older versions of grgit and the deprecation of the github-pages plugin, which has been superseded by git-publish.

Enhancements

  • #245 Deprecate org.ajoberstar.github-pages which is superseded by org.ajoberstar.git-publish

Fixes

  • #228 org.ajoberstar.grgit failed instead of silently doing nothing when a git repo was not present
  • #209 Unknown Host Key issues seemed to be tied to ECDSA keys which are supported in later JSCH versions

Compatibility

Java: requires 7 or higher

v1.6.0

7 years ago
  • Enhancement #189 Reuse the existing gh-pages clone, unless it's mismatched with current configuration. (Thanks to Dan Allen
  • Enhancement #194 Move gh-pages commit to the prepare task, allowing you to put tasks between commit and push. (Also thanks to Dan Allen)
  • Enhancement #199 More logging improvements to rebuilt strategy (Thanks to Günther Grill)
  • Fix #213 Removal of files during gh-pages is corrected (Thanks to Serban Iordache)
  • Fix #210 Floated stages now responds correctly if you abandon a version without taking it to final (e.g. going from 1.0.1-rc.2 to 1.1.0-dev.0).
  • Fix #205 The grgit task no longer fails if it can't find a Git repo. It will print out a warning message indicating likely errors if you continue, but this makes builds usable outside of the git repo.

v1.6.0-rc.1

7 years ago
  • Enhancement #189 Reuse the existing gh-pages clone, unless it's mismatched with current configuration. (Thanks to Dan Allen
  • Enhancement #194 Move gh-pages commit to the prepare task, allowing you to put tasks between commit and push. (Also thanks to Dan Allen)
  • Enhancement #199 More logging improvements to rebuilt strategy (Thanks to Günther Grill)
  • Fix #213 Removal of files during gh-pages is corrected (Thanks to Serban Iordache)
  • Fix #210 Floated stages now responds correctly if you abandon a version without taking it to final (e.g. going from 1.0.1-rc.2 to 1.1.0-dev.0).
  • Fix #205 The grgit task no longer fails if it can't find a Git repo. It will print out a warning message indicating likely errors if you continue, but this makes builds usable outside of the git repo.

v1.5.1

7 years ago
  • Fix #182: Default version strategies are now "un-deprecated" to undo a breaking change in 1.5.0. (with contributions from Günther Grill)
  • Fix #187: Improve error handling in the new default repoUri for the gh-pages plugin. (with contributions from Dan Allen)
  • Enhancement #186: Added more logging for why a strategy was selected. (Thanks Günther Grill)

v1.5.1-rc.3

7 years ago
  • Fix #182: Default version strategies are now "un-deprecated" to undo a breaking change in 1.5.0. (with contributions from Günther Grill)
  • Fix #187: Improve error handling in the new default repoUri for the gh-pages plugin. (with contributions from Dan Allen)
  • Enhancement #186: Added more logging for why a strategy was selected. (Thanks Günther Grill)

v1.5.1-rc.2

7 years ago
  • Fix #182: Default version strategies are now "un-deprecated" to undo a breaking change in 1.5.0.
  • Fix #187: Improve error handling in the new default repoUri for the gh-pages plugin.
  • Enhancement #186: Added more logging for why a strategy was selected. (Thanks Günther Grill)

v1.5.1-rc.1

7 years ago
  • Fix #182: Default version strategies are now "un-deprecated" to undo a breaking change in 1.5.0.
  • Fix #187: Improve error handling in the new default repoUri for the gh-pages plugin.

v1.5.0

7 years ago
  • Enhancement #172: The github-pages plugin now defaults the repoUri to the origin remote's URI of the project's Git repo (if any).
  • Enhancement #173: The github-pages plugin will no longer create an empty commit when you have changes. It will just do nothing.
  • Enhancement #94: The github-pages plugin will now only delete the existing files from the directory you target your pages copy spec to (using the into method). This can be used to generate pages into a version-specific folder without wiping out everything else (or having to regenerate all of that doc each time).
  • Enhancement/Fix #175: Certain cases used to cause failures like Stage final is not one of [dev] allowed for strategy development.. These were pretty confusing, since in this case it really meant that the repository had changes that weren't committed yet, making the normal strategy for final skip. Default version strategies are now only used if their selector method returns true, meaning you shouldn't get any failures like this. You should now get a message like this: No version strategies were selected. Run build with --info for more detail. Info logging has always included information about why strategies were skipped.
  • Deprecation #180: As a result of the change above, default version strategies are now considered deprecated and are slated for removal in 2.0.0. There shouldn't be any situations a default is needed that can't be met by putting the appropriate strategy in the normal versionStrategies.
  • Fix #171 and #145: Update the version of grgit to 1.7.0.