Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ICU4J executor version number based on ICU version #315

Merged
merged 1 commit into from
Sep 26, 2024
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
@@ -1,5 +1,7 @@
package org.unicode.conformance;

import com.ibm.icu.util.LocaleData;
import com.ibm.icu.util.VersionInfo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
Expand All @@ -25,10 +27,13 @@
public class Icu4jExecutor {

public static final String PLATFORM = "ICU4J";
public static final String PLATFORM_VERSION = "74.2";
public static final String ICU_VERSION = "74";

public static final String CLDR_VERSION = "44";
private static final VersionInfo latestIcuVersion = VersionInfo.ICU_VERSION;

public static final String PLATFORM_VERSION = latestIcuVersion.getMajor() + "." + latestIcuVersion.getMinor();

public static final String ICU_VERSION = String.valueOf(latestIcuVersion.getMajor());
public static final String CLDR_VERSION = String.valueOf(LocaleData.getCLDRVersion().getMajor());

/**
* Entry point for the executor.
Expand Down
2 changes: 1 addition & 1 deletion run_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
},
{
"prereq": {
"name": "mvn-icu4j-74-shaded",
"name": "mvn-icu4j-75-shaded",
"version": "75",
"command": "mvn -q -P icu75 -f ../executors/icu4j/74/executor-icu4j/pom.xml package -DskipTests=true"
},
Expand Down
Loading