Use auto-numbering for release description in antora docs
@@ -26,44 +26,44 @@ sonatypePassword=...
The following steps are necessary to build a new release:
-1. Update the version in gradle.properties to a release version, i.e. from `2.4.4-SNAPSHOT` to `2.4.4`.
-2. Build the release with
+. Update the version in gradle.properties to a release version, i.e. from `2.4.4-SNAPSHOT` to `2.4.4`.
+. Build the release with
+
----
# ./gradlew clean build
----
-3. After testing publish all artifacts to a local repository under `build/repos` with
+. After testing publish all artifacts to a local repository under `build/repos` with
+
----
# ./gradlew publishAllPublicationsToLocalRepository -i
----
-4. When everything is fine publish the artifacts to a staging repository on https://oss.sonatype.org and close the repository:
+. When everything is fine publish the artifacts to a staging repository on https://oss.sonatype.org and close the repository:
+
----
# ./gradlew publishAllPublicationsToSonatypeRepository -i
# ./gradlew closeRepository -i
----
-5. Visit https://oss.sonatype.org/#stagingRepositories[] and check the staging repository.
+. Visit https://oss.sonatype.org/#stagingRepositories[] and check the staging repository.
The artifacts are not published yet.
The repository URL shown there can be used for testing this version before publishing to Maven central.
-6. When everything is fine publish the artifacts in the staging repository by clicking the "Release" button.
+. When everything is fine publish the artifacts in the staging repository by clicking the "Release" button.
Alternatively you can release it with
+
----
# ./gradlew releaseRepository
----
-7. Publish the new version to sdkman with
+. Publish the new version to sdkman with
+
----
# ./gradlew asciidoctorj-distribution:sdkMajorRelease
----
-8. Commit everything and assign a tag:
+. Commit everything and assign a tag:
+
----
# git commit -m "Release v2.x.y"
# git tag v2.x.y
----
-9. Upgrade the version to the next version by changing the version property in gradle.properties to `version=2.x.y+1-SNAPSHOT` and commit:
+. Upgrade the version to the next version by changing the version property in gradle.properties to `version=2.x.y+1-SNAPSHOT` and commit:
+
----
git commit -m "Prepare next release"
