Skip to content

Releases: ajoberstar/gradle-git-publish

2.1.1-rc.1

25 Mar 23:58
Compare
Choose a tag to compare
2.1.1-rc.1 Pre-release
Pre-release

Fix release to complete the fix for the deprecation warning for directoryProperty.

Breaking Changes

None

Enhancements

None

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3

2.1.0

23 Mar 22:56
Compare
Choose a tag to compare

This release includes a few new features, the main one being the support for fetching the initial commits for the gitPublish.branch from your local repo (if you use org.ajoberstar.grgit or manually configure gitPublish.referenceRepoUri) before fetching from the remote. This should reduce how many commits need to be pulled over the network.

Breaking Changes

None

Enhancements

  • #1 Fetch gitPublish.branch from the local repo first, if possible, before fetching from the remote.

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3

2.1.0-rc.1

23 Mar 22:50
Compare
Choose a tag to compare
2.1.0-rc.1 Pre-release
Pre-release

This release includes a few new features, the main one being the support for fetching the initial commits for the gitPublish.branch from your local repo (if you use org.ajoberstar.grgit or manually configure gitPublish.referenceRepoUri) before fetching from the remote. This should reduce how many commits need to be pulled over the network.

Breaking Changes

None

Enhancements

  • #1 Fetch gitPublish.branch from the local repo first, if possible, before fetching from the remote.

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3

2.0.0

19 Nov 00:34
Compare
Choose a tag to compare

This release upgrades to grgit 3. Other than grgit's breaking changes, nothing has changed in this plugin.

Breaking Changes

  • #58 Upgraded to grgit 3 to fix incompatibility with Groovy 2.5 / Gradle 5.

Enhancements

None

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.2
9 4.3, 4.10.2
10 4.3, 4.10.2

2.0.0-rc.1

06 Oct 03:10
bc8c8e6
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

This release upgrades to grgit 3. Other than grgit's breaking changes, nothing has changed in this plugin.

Breaking Changes

  • #58 Upgraded to grgit 3 to fix incompatibility with Groovy 2.5 / Gradle 5.

Enhancements

None

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.2
9 4.3, 4.10.2
10 4.3, 4.10.2

1.0.1

09 Jun 00:07
af6ec70
Compare
Choose a tag to compare

This is a fix release to address an issue where you could see NoSuchRemoteException: origin: not found when gitPublishReset runs.

Breaking Changes

None

Enhancements

None

Fixes

  • #51 NoSucheRemoteException when running gitPublishReset

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.8
9 4.3, 4.8
10 4.3, 4.8

1.0.1-rc.2

06 Jun 23:45
af6ec70
Compare
Choose a tag to compare
1.0.1-rc.2 Pre-release
Pre-release

This is a fix release to address an issue where you could see NoSuchRemoteException: origin: not found when gitPublishReset runs.

Breaking Changes

None

Enhancements

None

Fixes

  • #51 NoSucheRemoteException when running gitPublishReset

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.8
9 4.3, 4.8
10 4.3, 4.8

1.0.1-rc.1

06 Jun 02:20
ca1bcac
Compare
Choose a tag to compare
1.0.1-rc.1 Pre-release
Pre-release

This is a fix release to (hopefully) address an issue where you could see NoSuchRemoteException: origin: not found when gitPublishReset runs.

Breaking Changes

None

Enhancements

None

Fixes

  • #51 NoSucheRemoteException when running gitPublishReset

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.8
9 4.3, 4.8
10 4.3, 4.8

1.0.0

02 Jun 00:59
Compare
Choose a tag to compare

With the changes in 0.4.0 not resulting in any major issues reported, gradle-git-publish can now move to 1.0.0.

This change only includes a minor performance fix since 0.4.1.

For users upgrading from <0.4.0, the use of Property on the extension removes the ability to assign GString transparently. This is due to gradle/gradle#3005.

gitPublish {
  // This will no longer work
  commitMessage = "Deploy docs to gh-pages (${grgit.head().abbreviatedId})"
  // Must change to this
  commitMessage = "Deploy docs to gh-pages (${grgit.head().abbreviatedId})".toString()
}

Breaking Changes

None

Enhancements

None

Fixes

  • #46 Internal Grgit provider is now memoized, avoiding reopening or re-cloning the Git repo
  • POM on Gradle Plugin Portal now includes static versions instead of ranges

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.8-rc-3
9 4.3, 4.8-rc-3
10 4.3, 4.8-rc-3

1.0.0-rc.2

01 Jun 01:19
Compare
Choose a tag to compare
1.0.0-rc.2 Pre-release
Pre-release

With the changes in 0.4.0 not resulting in any major issues reported, gradle-git-publish can now move to 1.0.0.

This change only includes a minor performance fix since 0.4.1.

Breaking Changes

None

Enhancements

None

Fixes

  • #46 Internal Grgit provider is now memoized, avoiding reopening or re-cloning the Git repo
  • POM on Gradle Plugin Portal now includes static versions instead of ranges

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.8-rc-3
9 4.3, 4.8-rc-3
10 4.3, 4.8-rc-3