Skip to content

Commit 1aeb793

Browse files
florentmaitrepaulinea
authored andcommitted
Review: fix error with testCentralPublisherPortalDeployment
1 parent d4c9fa7 commit 1aeb793

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
@@ -67,7 +67,7 @@ This file lists all the steps to follow when releasing a new version of OUDS And
6767
- Launch the `testCentralPublisherPortalDeployment` Gradle task using your user token as parameter:
6868

6969
```shell
70-
./gradlew testCentralPublisherPortalDeployment -PcentralPublisherPortalToken=<token>
70+
./gradlew testCentralPublisherPortalDeployment -Ptoken=<token>
7171
```
7272

7373
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)