Skip to content

Commit

Permalink
Release version 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed May 19, 2020
1 parent 5bc3ca8 commit 705e5a3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,16 @@ jobs:
- name: Fetch git tags
run: git fetch origin +refs/tags/*:refs/tags/*

- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Deploy to sonatype snapshots
run: ./gradlew publishMingwX64PublicationToMavenRepository -PinferVersion=true
run: ./gradlew :clikt:publishMingwX64PublicationToMavenRepository -PinferVersion=true
env:
ORG_GRADLE_PROJECT_SONATYPE_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPE_PASSWORD }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]

## [2.7.1] - 2020-05-19
### Fixed
- Fixed NPE thrown when in some cases when using `defaultByName` ([#179](https://github.com/ajalt/clikt/issues/179))

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Clikt is distributed through [Maven Central](https://search.maven.org/artifact/c

```groovy
dependencies {
implementation("com.github.ajalt:clikt:2.7.0")
implementation("com.github.ajalt:clikt:2.7.1")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class OptionGroupsTest {
@JsName("groupChoice_with_defaultByName_and_validate")
fun `groupChoice with defaultByName and validate`() {
if (skipDueToKT33294) return

class GroupA : OptionGroup() {
val opt by option().int().default(1).validate { require(it < 2) }
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.7.0
VERSION_NAME=2.7.1

kotlin.native.ignoreDisabledTargets=true

Expand Down

0 comments on commit 705e5a3

Please sign in to comment.