diff --git a/docs/antora.yml b/docs/antora.yml index 6e9c39a64..4f5f9c53b 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,11 +1,11 @@ name: guide title: JReleaser -version: latest +version: early-access asciidoc: attributes: - jreleaser-version: 1.20.0 - jreleaser-effective-version: 1.20.0 - jreleaser-tag: v1.20.0 + jreleaser-version: 1.21.0-SNAPSHOT + jreleaser-effective-version: 1.21.0-SNAPSHOT + jreleaser-tag: early-access jreleaser-raw-ghcontent: https://raw.githubusercontent.com/jreleaser/jreleaser/main jreleaser-extension-api: 'https://raw.githubusercontent.com/jreleaser/jreleaser/main/api/jreleaser-model-api/src/main/java/org/jreleaser/extensions/api' pomchecker-version: 1.14.0 diff --git a/docs/modules/examples/pages/maven/maven-central.adoc b/docs/modules/examples/pages/maven/maven-central.adoc index 6ba6973bf..9d807529d 100644 --- a/docs/modules/examples/pages/maven/maven-central.adoc +++ b/docs/modules/examples/pages/maven/maven-central.adoc @@ -48,7 +48,7 @@ deploy: maven: mavenCentral: sonatype: - active: ALWAYS + active: RELEASE url: {central_url} stagingRepositories: - target/staging-deploy @@ -65,7 +65,7 @@ TOML:: armored = true [deploy.maven.mavenCentral.sonatype] - active = "ALWAYS" + active = "RELEASE" url = "{central_url}" stagingRepositories = ["target/staging-deploy"] ---- @@ -86,7 +86,7 @@ JSON:: "maven": { "mavenCentral": { "sonatype": { - "active": "ALWAYS", + "active": "RELEASE", "url": "{central_url}", "stagingRepositories": [ "target/staging-deploy" @@ -114,7 +114,7 @@ Maven:: - ALWAYS + RELEASE {central_url} target/staging-deploy @@ -139,7 +139,7 @@ jreleaser { maven { mavenCentral { sonatype { - active = 'ALWAYS' + active = 'RELEASE' url = '{central_url}' stagingRepository('target/staging-deploy') } diff --git a/docs/modules/reference/pages/release/github.adoc b/docs/modules/reference/pages/release/github.adoc index 024a8d351..ebb748815 100644 --- a/docs/modules/reference/pages/release/github.adoc +++ b/docs/modules/reference/pages/release/github.adoc @@ -34,6 +34,12 @@ include::partial$release/yaml/common-head.adoc[] # icon:dot-circle[] icon:eye-slash[] draft: false + # Make release compatible with GitHub immutable releases. + # Creates the release as draft, uploads asstes and then publishes. + # Defaults to `false`. + # icon:dot-circle[] + immutableRelease: false + # icon:dot-circle[] prerelease: # Marks the release as prerelease. @@ -90,6 +96,12 @@ include::partial$release/toml/common-head.adoc[] # icon:dot-circle[] icon:eye-slash[] draft = false + # Make release compatible with GitHub immutable releases. + # Creates the release as draft, uploads asstes and then publishes. + # Defaults to `false`. + # icon:dot-circle[] + immutableRelease = false + # Marks the release as prerelease. # Defaults to `false`. # icon:dot-circle[] @@ -142,6 +154,12 @@ include::partial$release/json/common-head.adoc[] // icon:dot-circle[] icon:eye-slash[] "draft": false, + // Make release compatible with GitHub immutable releases. + // Creates the release as draft, uploads asstes and then publishes. + // Defaults to `false`. + // icon:dot-circle[] + "immutableRelease": false, + // icon:dot-circle[] "prerelease": { // Marks the release as prerelease. @@ -205,6 +223,14 @@ include::partial$release/maven/common-head.adoc[] --> false + + false + @@ -281,6 +307,12 @@ include::partial$release/gradle/common-head.adoc[] // icon:dot-circle[] icon:eye-slash[] draft = false + // Make release compatible with GitHub immutable releases. + // Creates the release as draft, uploads asstes and then publishes. + // Defaults to `false`. + // icon:dot-circle[] + immutableRelease = false + // icon:dot-circle[] prerelease { // Marks the release as prerelease. diff --git a/landing/index.html b/landing/index.html index 0bc008d95..664458dec 100644 --- a/landing/index.html +++ b/landing/index.html @@ -312,7 +312,7 @@

Maximize distribution and reach.