From 304a0d3991c8dfa09201c1cc670a7dd30b06a7c8 Mon Sep 17 00:00:00 2001 From: manosbatsis Date: Fri, 29 Dec 2023 12:37:50 +0200 Subject: [PATCH] fix: fix version update in docs --- .github/workflows/gradle.yml | 2 +- README.md | 2 +- package.json | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 4367e8b..6c4fe27 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -70,4 +70,4 @@ jobs: ORG_GRADLE_PROJECT_sonatypeUsername: ${{secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME}} ORG_GRADLE_PROJECT_sonatypePassword: ${{secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD}} with: - arguments: publishToSonatype closeAndReleaseSonatypeStagingRepositor + arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository diff --git a/README.md b/README.md index 2808221..2f9b99c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ In your gradle: ```groovy - testImplementation("com.github.manosbatsis.corda5.testutils:integration-junit5:1.0.5") + testImplementation("com.github.manosbatsis.corda5.testutils:integration-junit5:1.1.0") testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitVersion") diff --git a/package.json b/package.json index d382228..a43da97 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,14 @@ "from": "\\bversion=.*", "to": "version=${nextRelease.version}", "countMatches": true + }, + { + "files": [ + "README.md" + ], + "from": "${lastRelease.version}", + "to": "${nextRelease.version}", + "countMatches": true } ] } @@ -47,7 +55,8 @@ { "assets": [ "gradle.properties", - "docs/CHANGELOG.md" + "docs/CHANGELOG.md", + "README.md" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" }