mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-24 22:07:33 +00:00
chore: try to make OSSRH working
This commit is contained in:
parent
11b9baa3ff
commit
37f8e4fd2e
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -256,7 +256,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
||||||
.github/scripts/release-snapshot.sh
|
.github/scripts/release-snapshot.sh
|
||||||
gradle --debug publish
|
|
||||||
|
|
||||||
- name: Create release in GitHub and OSSRH
|
- name: Create release in GitHub and OSSRH
|
||||||
if: needs.workflow_config.outputs.do_release == 'true'
|
if: needs.workflow_config.outputs.do_release == 'true'
|
||||||
|
@ -118,9 +118,10 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "OSSRH"
|
name = "OSSRH"
|
||||||
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
// val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||||
val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
|
// val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||||
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
|
// url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
|
||||||
|
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("OSSRH_USERNAME")
|
username = System.getenv("OSSRH_USERNAME")
|
||||||
password = System.getenv("OSSRH_PASSWORD")
|
password = System.getenv("OSSRH_PASSWORD")
|
||||||
|
@ -147,9 +147,10 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "OSSRH"
|
name = "OSSRH"
|
||||||
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
// val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||||
val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
|
// val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||||
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
|
// url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
|
||||||
|
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("OSSRH_USERNAME")
|
username = System.getenv("OSSRH_USERNAME")
|
||||||
password = System.getenv("OSSRH_PASSWORD")
|
password = System.getenv("OSSRH_PASSWORD")
|
||||||
|
Loading…
Reference in New Issue
Block a user