gerrit/Documentation/dev-release-jgit.txt
Saša Živkov 38fe2fc72d Document how to deploy a JGit release to Google Cloud Storage
Change-Id: I4e7a436919a728f9e6bfa7dfc9e335e8b5e46b11
2016-02-18 15:47:12 +01:00

42 lines
991 B
Plaintext

= 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
---------