Skip to content

Commit 17dc82b

Browse files
committed
Review: fix error with testCentralPublisherPortalDeployment
1 parent 41f057e commit 17dc82b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

buildSrc/src/main/kotlin/release.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fun updateVersionCode() {
8787

8888
tasks.register<DefaultTask>("testCentralPublisherPortalDeployment") {
8989
doLast {
90-
val token = project.requireTypedProperty<String>("Ptoken")
90+
val token = project.requireTypedProperty<String>("token")
9191

9292
// Add Central Publisher Portal Maven repository in settings.gradle.kts file
9393
File("settings.gradle.kts").replace("(\\h*)mavenCentral\\(\\)".toRegex()) { matchResult ->

release/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This file lists all the steps to follow when releasing a new version of OUDS And
6666
- Launch the `testCentralPublisherPortalDeployment` Gradle task using your user token as parameter:
6767

6868
```shell
69-
./gradlew testCentralPublisherPortalDeployment -PcentralPublisherPortalToken=<token>
69+
./gradlew testCentralPublisherPortalDeployment -Ptoken=<token>
7070
```
7171

7272
This task allows you to test the release before it is deployed to Maven Central and performs the following changes to the project:

0 commit comments

Comments
 (0)