Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,20 @@ private void visit(Path file) throws IOException {
+ "\"\\s+name=\"" + SIMREL_VERSION_MATCHER + "\"", SIMREL_VERSION, SIMREL_VERSION);
} else if (fileName.equals("MANIFEST.MF")) {
apply(file, "Bundle-Version: " + PLATFORM_VERSION_MATCHER + "\\.0\\.qualifier", PLATFORM_VERSION);
} else if (fileName.equals("promote-a-build.sh")) {
var pattern = Pattern.compile("<past>(?<version>20[2-9][0-9]-(?:03|06|09|12))/R</past>(?<nl>\r?\n)EOM");
var content = getContent(file);
var matcher = pattern.matcher(content);
if (!matcher.find()) {
throw new IllegalStateException("Expecting a proper match in " + relativePathName);
}
var expectedPastVersion = getSimRelVersion(PLATFORM_VERSION, -2);
if (!expectedPastVersion.equals(matcher.group("version"))) {
var modifiedContent = content.substring(0, matcher.end("nl")) //
+ "<past>" + expectedPastVersion + "/R</past>" + matcher.group("nl")//
+ content.substring(matcher.end("nl"));
contents.put(file, modifiedContent);
}
} else if (relativePathName.equals("RELEASING.md")) {
// TODO
}
Expand Down
1 change: 1 addition & 0 deletions releng/org.eclipse.epp.config/tools/promote-a-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ cat > release.xml <<EOM
<past>2024-06/R</past>
<past>2024-09/R</past>
<past>2024-12/R</past>
<past>2025-03/R</past>
EOM
if [ "$RELEASE_MILESTONE" != "R" ]; then
cat >> release.xml <<EOM
Expand Down
8 changes: 4 additions & 4 deletions releng/org.eclipse.epp.config/tools/upload-to-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ cpp - 2025-06 RC2
dsl - 2025-06 M2
embedcpp - 2024-09 RC2
java - 2025-06 RC1
jee - 2025-06 RC2
modeling - 2025-06 RC1
jee - 2025-09 RC1
modeling - 2025-09 RC1
php - 2025-06 M1
rcp - 2025-06 RC2
scout - 2025-03 RC2
Expand All @@ -69,8 +69,8 @@ Platforms:
Linux x86_64 - 2025-06 RC2
Linux aarch64 - 2023-09 RC2
Linux riscv64 - 2025-09 M2
Windows x86_64 - 2025-06 RC1
Windows on Arm - 2025-06 RC2
Windows x86_64 - 2025-09 RC1
Windows on Arm - 2025-09 RC1
macOS x86_64 - 2024-09 RC2
macOS aarch64 - 2025-06 M2

Expand Down
Loading