Skip to content

Commit 6df7c4e

Browse files
Shaurya0108Shaurya Dwivedi
andauthored
Fix 1.11.11 release (#1113)
* Fix for v1.11.11 release * Fix for v1.11.11 release * Using Nexus 2.0 and renamed cred variables * update sonatype close step * update credentails to old names --------- Co-authored-by: Shaurya Dwivedi <shauvy@amazon.com>
1 parent 78846c9 commit 6df7c4e

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/publish-release-artifacts.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ jobs:
5656
- name: Build Release Artifacts
5757
run: ./gradlew cyclonedxBom build
5858
- name: Publish to Sonatype
59-
run: ./gradlew publishToSonatype
60-
- name: Close and Release Sonatype Staging Repository
61-
run: ./gradlew closeAndReleaseSonatypeStagingRepository
59+
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
6260
- name: Upload Artifacts to GitHub Release
6361
env:
6462
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ plugins {
2525
`maven-publish`
2626

2727
// There are newer versions available, but they are not guaranteed to support Java 8.
28-
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
28+
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
2929

3030
jacoco
3131
signing
@@ -604,7 +604,7 @@ publishing {
604604
}
605605

606606
nexusPublishing {
607-
// Documentation for this plugin, see https://github.com/gradle-nexus/publish-plugin/blob/v1.3.0/README.md
607+
// Documentation for this plugin, see https://github.com/gradle-nexus/publish-plugin/blob/v2.0.0/README.md
608608
// Updated for Central Portal migration
609609
this.repositories {
610610
sonatype {

0 commit comments

Comments
 (0)