Saša Živkov | 38fe2fc | 2016-02-18 14:00:06 +0100 | [diff] [blame] | 1 | = Making a Release of JGit |
| 2 | |
| 3 | This step is only necessary if we need to create an unofficial JGit |
| 4 | snapshot release and publish it to the |
| 5 | link:https://developers.google.com/storage/[Google Cloud Storage]. |
| 6 | |
| 7 | |
| 8 | [[prepare-release]] |
| 9 | == Prepare the Release |
| 10 | |
| 11 | Since JGit has its own release process we do not push any release tags |
| 12 | for JGit. Instead we will use the output of the `git describe` as the |
| 13 | version 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[ |
| 25 | Configuration in Maven `settings.xml`] |
| 26 | ** link:dev-release-deploy-config.html#deploy-configuration-subprojects[ |
| 27 | Configuration for Subprojects in `pom.xml`] |
| 28 | |
| 29 | * Deploy the new snapshot. From JGit workspace execute: |
| 30 | + |
| 31 | ---- |
| 32 | mvn deploy |
| 33 | ---- |
| 34 | |
| 35 | |
| 36 | GERRIT |
| 37 | ------ |
| 38 | Part of link:index.html[Gerrit Code Review] |
| 39 | |
| 40 | SEARCHBOX |
| 41 | --------- |