blob: f6d4d6892f5b07fe11b069ec49c51b87f6ff8244 [file] [log] [blame]
Saša Živkov38fe2fc2016-02-18 14:00:06 +01001= Making a Release of JGit
2
3This step is only necessary if we need to create an unofficial JGit
4snapshot release and publish it to the
5link:https://developers.google.com/storage/[Google Cloud Storage].
6
7
8[[prepare-release]]
9== Prepare the Release
10
11Since JGit has its own release process we do not push any release tags
12for JGit. Instead we will use the output of the `git describe` as the
13version of the current JGit snapshot.
14
15----
16 ./tools/version.sh --release $(git describe)
17----
18
19
20[[publish-release]]
21== Publish the Release
22
23* Make sure you have done the configuration needed for deployment:
24** link:dev-release-deploy-config.html#deploy-configuration-settings-xml[
25Configuration in Maven `settings.xml`]
26** link:dev-release-deploy-config.html#deploy-configuration-subprojects[
27Configuration for Subprojects in `pom.xml`]
28
29* Deploy the new snapshot. From JGit workspace execute:
30+
31----
32 mvn deploy
33----
34
35
36GERRIT
37------
38Part of link:index.html[Gerrit Code Review]
39
40SEARCHBOX
41---------