From e70b71681516cfb92a6def862a6809ccc4a2c856 Mon Sep 17 00:00:00 2001 From: runner Date: Sat, 6 Jul 2024 02:37:24 +0000 Subject: [PATCH] Published release/3.1.0 --- CHANGELOG.md | 2 ++ IF_GIT_DIFF.md | 6 +++--- README.md | 10 +++++----- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716a367..73093c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/IF_GIT_DIFF.md b/IF_GIT_DIFF.md index 58e9e4e..4a422e4 100644 --- a/IF_GIT_DIFF.md +++ b/IF_GIT_DIFF.md @@ -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) @@ -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). diff --git a/README.md b/README.md index 0ead0f9..99cbeb3 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 @@ -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 @@ -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`