Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Releases: ajoberstar/gradle-git

1.1.0

11 Jul 22:49
Compare
Choose a tag to compare
  • Bug fix: Update org.ajoberstar.release-opinion to use grgit.resolve.toCommit(String) instead of the removed grgit.resolveCommit(String).
  • Make deletion of gh-pages content optional. (Thanks to Stu Arnett)
  • Added a new pre-release strategy for alpha, beta, and rc as an alternative to the default milestone, rc. (Thanks to Henry Addo)
  • Update to grgit 1.1.0.

1.0.0

11 Jul 22:48
Compare
Choose a tag to compare
  • Better multi-project support for [release plugins](release plugins 1.x):
    • The release plugins now apply the inferred version to all projects in the build.
    • Project name is included in logging during version inference. (Thanks to Aaron Zirbes)
  • Using Grgit 1.0.0.

0.13.0

11 Jul 22:48
Compare
Choose a tag to compare
  • New RebuildVersionStrategy added to fix #84. Can be used to reuse the latest version tagged at HEAD, as long as the repo is clean and no release. properties are set on the Gradle project.
  • The rebuild strategy is added to the org.ajobestar.release-opinion plugin.

0.12.0

11 Jul 22:48
Compare
Choose a tag to compare

0.11.2

11 Jul 22:47
Compare
Choose a tag to compare
  • Fixed #77 by ensuring that the org.ajoberstar.release-opinion plugin correctly handles the first
    release, where no previous tag exists.

0.11.1

11 Jul 22:47
Compare
Choose a tag to compare
  • Added a prepare task to the BaseReleasePlugin, which will verify that the current branch is not behind its tracked counterpart.
  • No longer running a fetch everytime the version is inferred (just during the prepare task).
  • Possible breaking change: Removed the allowBranchBehind flag on SemVerStrategy since the fetch doesn't happen until after version inference.

0.11.0

11 Jul 22:47
Compare
Choose a tag to compare
  • Breaking Change: org.ajoberstar.grgit-release replaced by org.ajoberstar.release-base and org.ajoberstar.release-opinion. The goal was to provide far more flexibility for script authors to match up with their release processes.

See the updated docs starting from here.

0.10.1

11 Jul 22:47
Compare
Choose a tag to compare
  • Fix #70 by ensuring the the version is inferred during the prepare task.

0.10.0

11 Jul 22:47
Compare
Choose a tag to compare
  • Primary goal of this release is to get the plugin into the new Gradle plugin portal.
    • Breaking change: Plugin ID's changed from github-pages to org.ajoberstar.github-pages and grgit-release to org.ajoberstar.grgit-release.
    • Possibly breaking change: Built against Gradle 2.1. This may break compatibility with earlier Gradle versions.
  • Possibly breaking change: github-pages will now do a full sync of the content. If you were relying on it leaving some of the files
    outside of your githubPages.pages definition alone, this will cause problems for you.
  • Allow custom logic for determining if a version is releasable. (#59, courtesy of Benjamin Muschko)
  • No longer throwing IllegalStateException when getters on InferredVersion are used before the version is inferred.

NOTE: I'm planning on completely rewriting the grgit-release plugin for the next release in order to provide more flexibility for
people with other needs.

0.9.0

11 Jul 22:46
Compare
Choose a tag to compare
  • Breaking change for the grgit-release plugin.
    • The ready<Scope>As<Stage> and release<Scope>As<Stage> tasks were replaced
      by a prepare and a release task.
    • Scope and stage are now provided by project properties release.scope and
      release.stage.
    • Version inference happens when toString is called, instead of when the task
      graph is ready.
    • These changes work around some eager evaluation of the version experienced
      with the maven-publish and some other plugins.