Skip to content

Commit 6faab78

Browse files
authored
Merge pull request #242 from bkdevops-projects/fix/update-sonatype-url
Fix: Update Sonatype URL
2 parents f7e18f6 + 8e9df10 commit 6faab78

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
run: ./gradlew build
6464
- name: Publish release package
6565
env:
66+
ORG_GRADLE_PROJECT_releaseRepoUrl: "https://ossrh-staging-api.central.sonatype.com/service/local/"
6667
ORG_GRADLE_PROJECT_repoUsername: ${{ secrets.SONATYPE_USERNAME }}
6768
ORG_GRADLE_PROJECT_repoPassword: ${{ secrets.SONATYPE_PASSWORD }}
6869
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}

devops-boot-project/devops-boot-tools/devops-publish-gradle-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ key=value
6565

6666
| 属性 | 类型 | 默认值 | 说明 |
6767
| --------------- | ------- | ------ | ---------- |
68-
| releaseRepoUrl | string | [https://central.sonatype.com/service/local/](https://central.sonatype.com/service/local/) | release仓库地址,默然为SONATYPE中央仓库地址 |
68+
| releaseRepoUrl | string | [https://ossrh-staging-api.central.sonatype.com/service/local/](https://ossrh-staging-api.central.sonatype.com/service/local/) | release仓库地址,默然为SONATYPE中央仓库地址 |
6969
| snapshotRepoUrl | string | [https://central.sonatype.com/repository/maven-snapshots/](https://central.sonatype.com/repository/maven-snapshots/) | snapshot仓库地址,默然为SONATYPE中央仓库地址 |
7070
| repoUsername | string | null | 仓库认证用户名 |
7171
| repoPassword | string | null | 仓库认证密码 |

docs/plugin/devops-publish-gradle-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ key=value
6666

6767
| 属性 | 类型 | 默认值 | 说明 |
6868
| --------------- | ------- | ------ | ---------- |
69-
| releaseRepoUrl | string | [https://central.sonatype.com/service/local/](https://central.sonatype.com/service/local/) | release仓库地址,默然为SONATYPE中央仓库地址 |
69+
| releaseRepoUrl | string | [https://ossrh-staging-api.central.sonatype.com/service/local/](https://ossrh-staging-api.central.sonatype.com/service/local/) | release仓库地址,默然为SONATYPE中央仓库地址 |
7070
| snapshotRepoUrl | string | [https://central.sonatype.com/repository/maven-snapshots/](https://central.sonatype.com/repository/maven-snapshots/) | snapshot仓库地址,默然为SONATYPE中央仓库地址 |
7171
| repoUsername | string | null | 仓库认证用户名 |
7272
| repoPassword | string | null | 仓库认证密码 |

0 commit comments

Comments
 (0)