Skip to main content
summaryrefslogtreecommitdiffstats
blob: 150dc7dfab21553f50a0b0fa24290271253b35d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################README##################################################################################
#Before running this script configure the source and target POM versions correctly, follow detailed steps below:
# 1. Update "updateProductVersion.sh" script with proper source and target version properly for all 4 mentioned files.
# 2. From Shell command prompt go to "eclipse.platform.releng.aggregator" directory
# 3. Then we should run the script using command: ./scripts/updateProductVersion.sh
# 4. Above script will take around less than a minute max to update the complete Eclipse sources.
# 5. Make sure to create the gerrit for for "eclipse.platform.releng.aggregator" in first place:
# 6. gerrit build will fail for this change, you can commit without gerrit validation
# 7. After committing above change, you need to deploy the POM for the new Eclipse version 4.16
# 8. e.g. For new Eclipse release 4.16 [Note: version value will change depending on the release]  run below jobs:
#    https://ci.eclipse.org/releng/job/deploy-eclipse-platform-parent-pom/
#    https://ci.eclipse.org/releng/job/deploy-eclipse-sdk-target-pom/
# 9. Now create the gerrit patches for all sub-modules which should pass.
#10. Finally commit all the modified files in each of the individual submodules of Releng.

script_location=$( (cd $(dirname $0) && pwd) )

find $script_location/.. -name pom.xml -exec sed -i 's/4.22.0/4.23.0/g' {} \;
find $script_location/.. -name MANIFEST.MF -exec sed -i 's/4.22.0/4.23.0/g' {} \;
find $script_location/.. -type f -name *.product -exec sed -i 's/4.22.0/4.23.0/g' {} \;
find $script_location/.. -name feature.xml -exec sed -i 's/4.22.0/4.23.0/g' {} \;

Back to the top