Document how to deploy a JGit release to Google Cloud Storage
Change-Id: I4e7a436919a728f9e6bfa7dfc9e335e8b5e46b11
This commit is contained in:
@@ -142,6 +142,10 @@ deployable to the `gerrit-maven` storage bucket:
|
|||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
----
|
----
|
||||||
|
|
||||||
|
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:
|
* Add these two snippets to the `pom.xml` to enable the wagon provider:
|
||||||
|
|
||||||
|
41
Documentation/dev-release-jgit.txt
Normal file
41
Documentation/dev-release-jgit.txt
Normal file
@@ -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
|
||||||
|
---------
|
@@ -74,6 +74,7 @@
|
|||||||
== Maintainer
|
== Maintainer
|
||||||
. link:dev-release.html[Making a Gerrit Release]
|
. link:dev-release.html[Making a Gerrit Release]
|
||||||
. link:dev-release-subproject.html[Making a Release of a Gerrit Subproject]
|
. link:dev-release-subproject.html[Making a Release of a Gerrit Subproject]
|
||||||
|
. link:dev-release-jgit.html[Making a Release of JGit]
|
||||||
|
|
||||||
== Resources
|
== Resources
|
||||||
* link:licenses.html[Licenses and Notices]
|
* link:licenses.html[Licenses and Notices]
|
||||||
|
Reference in New Issue
Block a user