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