File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
releng/org.eclipse.epp.config
org.eclipse.epp.releng.updater/src/org/eclipse/epp/releng/updater Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,20 @@ private void visit(Path file) throws IOException {
220220 + "\" \\ s+name=\" " + SIMREL_VERSION_MATCHER + "\" " , SIMREL_VERSION , SIMREL_VERSION );
221221 } else if (fileName .equals ("MANIFEST.MF" )) {
222222 apply (file , "Bundle-Version: " + PLATFORM_VERSION_MATCHER + "\\ .0\\ .qualifier" , PLATFORM_VERSION );
223+ } else if (fileName .equals ("promote-a-build.sh" )) {
224+ var pattern = Pattern .compile ("<past>(?<version>20[2-9][0-9]-(?:03|06|09|12))/R</past>(?<nl>\r ?\n )EOM" );
225+ var content = getContent (file );
226+ var matcher = pattern .matcher (content );
227+ if (!matcher .find ()) {
228+ throw new IllegalStateException ("Expecting a proper match in " + relativePathName );
229+ }
230+ var expectedPastVersion = getSimRelVersion (PLATFORM_VERSION , -2 );
231+ if (!expectedPastVersion .equals (matcher .group ("version" ))) {
232+ var modifiedContent = content .substring (0 , matcher .end ("nl" )) //
233+ + "<past>" + expectedPastVersion + "/R</past>" + matcher .group ("nl" )//
234+ + content .substring (matcher .end ("nl" ));
235+ contents .put (file , modifiedContent );
236+ }
223237 } else if (relativePathName .equals ("RELEASING.md" )) {
224238 // TODO
225239 }
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ cat > release.xml <<EOM
9090<past>2024-06/R</past>
9191<past>2024-09/R</past>
9292<past>2024-12/R</past>
93+ <past>2025-03/R</past>
9394EOM
9495if [ " $RELEASE_MILESTONE " != " R" ]; then
9596 cat >> release.xml << EOM
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ cpp - 2025-06 RC2
5959dsl - 2025-06 M2
6060embedcpp - 2024-09 RC2
6161java - 2025-06 RC1
62- jee - 2025-06 RC2
63- modeling - 2025-06 RC1
62+ jee - 2025-09 RC1
63+ modeling - 2025-09 RC1
6464php - 2025-06 M1
6565rcp - 2025-06 RC2
6666scout - 2025-03 RC2
@@ -69,8 +69,8 @@ Platforms:
6969Linux x86_64 - 2025-06 RC2
7070Linux aarch64 - 2023-09 RC2
7171Linux riscv64 - 2025-09 M2
72- Windows x86_64 - 2025-06 RC1
73- Windows on Arm - 2025-06 RC2
72+ Windows x86_64 - 2025-09 RC1
73+ Windows on Arm - 2025-09 RC1
7474macOS x86_64 - 2024-09 RC2
7575macOS aarch64 - 2025-06 M2
7676
You can’t perform that action at this time.
0 commit comments