Skip to content

Commit

Permalink
Published release/3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
runner committed Jul 6, 2024
1 parent 7bbb884 commit e70b716
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.1.0] - 2024-07-06
### Added
- A `runAfterPush` command to run a CLI command after the push is complete. ([#51](https://github.com/diffplug/spotless-changelog/pull/51))

Expand Down
6 changes: 3 additions & 3 deletions IF_GIT_DIFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ output = [
[![Maven central](https://img.shields.io/badge/mavencentral-available-blue.svg)](https://search.maven.org/search?q=g:com.diffplug.spotless-changelog)
[![Apache 2.0](https://img.shields.io/badge/license-apache--2.0-blue.svg)](https://tldrlegal.com/license/apache-license-2.0-(apache-2.0))

[![Changelog](https://img.shields.io/badge/changelog-3.0.2-brightgreen.svg)](CHANGELOG.md)
[![Javadoc](https://img.shields.io/badge/javadoc-yes-brightgreen.svg)](https://javadoc.jitpack.io/com/github/diffplug/spotless-changelog/spotless-changelog-agg/release~3.0.2/javadoc/)
[![Changelog](https://img.shields.io/badge/changelog-3.1.0-brightgreen.svg)](CHANGELOG.md)
[![Javadoc](https://img.shields.io/badge/javadoc-yes-brightgreen.svg)](https://javadoc.jitpack.io/com/github/diffplug/spotless-changelog/spotless-changelog-agg/release~3.1.0/javadoc/)
[![Live chat](https://img.shields.io/badge/gitter-chat-brightgreen.svg)](https://gitter.im/diffplug/spotless-changelog)
[![CircleCI](https://circleci.com/gh/diffplug/spotless-changelog.svg?style=shield)](https://circleci.com/gh/diffplug/spotless-changelog)
<!---freshmark /shields -->
Expand Down Expand Up @@ -58,7 +58,7 @@ output = prefixDelimiterReplace(output, 'https://github.com/diffplug/spotless-ch
output = prefixDelimiterReplace(output, 'https://javadoc.io/static/com.diffplug.spotless-changelog/spotless-changelog-plugin-gradle/', '/', versionLast)
-->

[Plugin DSL javadoc](https://javadoc.io/static/com.diffplug.spotless-changelog/spotless-changelog-plugin-gradle/3.0.2/com/diffplug/spotless/changelog/gradle/IfGitDiffExtension.html). For requirements see [spotless-changelog](https://github.com/diffplug/spotless-changelog#requirements).
[Plugin DSL javadoc](https://javadoc.io/static/com.diffplug.spotless-changelog/spotless-changelog-plugin-gradle/3.1.0/com/diffplug/spotless/changelog/gradle/IfGitDiffExtension.html). For requirements see [spotless-changelog](https://github.com/diffplug/spotless-changelog#requirements).

<!---freshmark /version -->

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ output = [
[![Maven central](https://img.shields.io/badge/mavencentral-available-blue.svg)](https://search.maven.org/search?q=g:com.diffplug.spotless-changelog)
[![Apache 2.0](https://img.shields.io/badge/license-apache--2.0-blue.svg)](https://tldrlegal.com/license/apache-license-2.0-(apache-2.0))

[![Changelog](https://img.shields.io/badge/changelog-3.0.2-brightgreen.svg)](CHANGELOG.md)
[![Javadoc](https://img.shields.io/badge/javadoc-yes-brightgreen.svg)](https://javadoc.jitpack.io/com/github/diffplug/spotless-changelog/spotless-changelog-agg/release~3.0.2/javadoc/)
[![Changelog](https://img.shields.io/badge/changelog-3.1.0-brightgreen.svg)](CHANGELOG.md)
[![Javadoc](https://img.shields.io/badge/javadoc-yes-brightgreen.svg)](https://javadoc.jitpack.io/com/github/diffplug/spotless-changelog/spotless-changelog-agg/release~3.1.0/javadoc/)
[![Live chat](https://img.shields.io/badge/gitter-chat-brightgreen.svg)](https://gitter.im/diffplug/spotless-changelog)
[![CircleCI](https://circleci.com/gh/diffplug/spotless-changelog.svg?style=shield)](https://circleci.com/gh/diffplug/spotless-changelog)
<!---freshmark /shields -->
Expand Down Expand Up @@ -53,7 +53,7 @@ In your `build.gradle`, you do this:

```gradle
plugins {
id 'com.diffplug.spotless-changelog' version '3.0.2'
id 'com.diffplug.spotless-changelog' version '3.1.0'
}
spotlessChangelog { // only necessary if you need to change the defaults below
Expand Down Expand Up @@ -151,7 +151,7 @@ gradle.taskGraph.whenReady { taskGraph ->

## Reference

### Plugin DSL ([javadoc](https://javadoc.io/static/com.diffplug.spotless-changelog/spotless-changelog-plugin-gradle/3.0.2/com/diffplug/spotless/changelog/gradle/ChangelogExtension.html))
### Plugin DSL ([javadoc](https://javadoc.io/static/com.diffplug.spotless-changelog/spotless-changelog-plugin-gradle/3.1.0/com/diffplug/spotless/changelog/gradle/ChangelogExtension.html))

```gradle
spotlessChangelog { // all defaults
Expand Down Expand Up @@ -187,7 +187,7 @@ String versionNext = spotlessChangelog.versionNext
// Don't worry about doing this accidentally, you'll get a loud error if you do.
```

### Tasks ([code](https://github.com/diffplug/spotless-changelog/blob/release/3.0.2/spotless-changelog-plugin-gradle/src/main/java/com/diffplug/spotless/changelog/gradle/ChangelogPlugin.java))
### Tasks ([code](https://github.com/diffplug/spotless-changelog/blob/release/3.1.0/spotless-changelog-plugin-gradle/src/main/java/com/diffplug/spotless/changelog/gradle/ChangelogPlugin.java))

- `changelogPrint` - prints the last published version and calculated next version
- `myproj 1.0.4 -> 1.1.0`
Expand Down

0 comments on commit e70b716

Please sign in to comment.