Skip to content

Commit

Permalink
Published release/2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Mar 13, 2021
1 parent cd749fc commit 43e702a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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]

## [2.0.1] - 2021-03-13
### Fixed
- When the remote branch was missing (as in a bare checkout), the user got an NPE rather than a nice error message. ([#16](https://github.com/diffplug/spotless-changelog/issues/16))

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,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-2.0.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~2.0.0/javadoc/)
[![Changelog](https://img.shields.io/badge/changelog-2.0.1-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~2.0.1/javadoc/)
[![Live chat](https://img.shields.io/badge/gitter-chat-brightgreen.svg)](https://gitter.im/diffplug/spotless-changelog)
[![JitCI](https://jitci.com/gh/diffplug/spotless-changelog/svg)](https://jitci.com/gh/diffplug/spotless-changelog)
<!---freshmark /shields -->
Expand Down Expand Up @@ -54,7 +54,7 @@ In your `build.gradle`, you do this:

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

## Reference

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

```gradle
spotlessChangelog { // all defaults
Expand Down Expand Up @@ -183,7 +183,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/2.0.0/spotless-changelog-plugin-gradle/src/main/java/com/diffplug/spotless/changelog/gradle/ChangelogPlugin.java))
### Tasks ([code](https://github.com/diffplug/spotless-changelog/blob/release/2.0.1/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 43e702a

Please sign in to comment.