diff --git a/Documentation/dev-release-deploy-config.txt b/Documentation/dev-release-deploy-config.txt index fe1796701f..6f111585bf 100644 --- a/Documentation/dev-release-deploy-config.txt +++ b/Documentation/dev-release-deploy-config.txt @@ -142,6 +142,10 @@ deployable to the `gerrit-maven` storage bucket: ---- +NOTE: In case of JGit the `pom.xml` already contains a distributionManagement +section. Replace the existing distributionManagement section with this snippet +in order to deploy the artifacts only in the gerrit-maven repository. + * Add these two snippets to the `pom.xml` to enable the wagon provider: diff --git a/Documentation/dev-release-jgit.txt b/Documentation/dev-release-jgit.txt new file mode 100644 index 0000000000..f6d4d6892f --- /dev/null +++ b/Documentation/dev-release-jgit.txt @@ -0,0 +1,41 @@ += Making a Release of JGit + +This step is only necessary if we need to create an unofficial JGit +snapshot release and publish it to the +link:https://developers.google.com/storage/[Google Cloud Storage]. + + +[[prepare-release]] +== Prepare the Release + +Since JGit has its own release process we do not push any release tags +for JGit. Instead we will use the output of the `git describe` as the +version of the current JGit snapshot. + +---- + ./tools/version.sh --release $(git describe) +---- + + +[[publish-release]] +== Publish the Release + +* Make sure you have done the configuration needed for deployment: +** link:dev-release-deploy-config.html#deploy-configuration-settings-xml[ +Configuration in Maven `settings.xml`] +** link:dev-release-deploy-config.html#deploy-configuration-subprojects[ +Configuration for Subprojects in `pom.xml`] + +* Deploy the new snapshot. From JGit workspace execute: ++ +---- + mvn deploy +---- + + +GERRIT +------ +Part of link:index.html[Gerrit Code Review] + +SEARCHBOX +--------- diff --git a/Documentation/index.txt b/Documentation/index.txt index 9c95170ae9..2b7aa4cc22 100644 --- a/Documentation/index.txt +++ b/Documentation/index.txt @@ -74,6 +74,7 @@ == Maintainer . link:dev-release.html[Making a Gerrit Release] . link:dev-release-subproject.html[Making a Release of a Gerrit Subproject] +. link:dev-release-jgit.html[Making a Release of JGit] == Resources * link:licenses.html[Licenses and Notices]