Skip to content

Commit

Permalink
CLDR-17228 v45 SBRS: fix DEV_VERSION, mkdir in charts
Browse files Browse the repository at this point in the history
- update DEV_VERSION=45
- GenerateAllCharts should CREATE the new directory in cldr-staging.
  • Loading branch information
srl295 committed Nov 6, 2023
1 parent 73e4014 commit f5560bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package org.unicode.cldr.tool;

import java.io.File;
import java.io.IOException;

import org.unicode.cldr.util.CLDRPaths;
import org.unicode.cldr.util.DateTimeFormats;
import org.unicode.cldr.util.FileCopier;
Expand All @@ -16,6 +19,13 @@
*/
public class GenerateAllCharts {
public static void main(String[] args) throws Exception {
final File mainDir = new File(CLDRPaths.CHART_DIRECTORY);
if (mainDir.mkdirs()) {
System.err.println("Created: " + mainDir);
}
if (!mainDir.isDirectory()) {
throw new IOException("Main dir doesn't exist: " + mainDir);
}
FileCopier.copy(GenerateAllCharts.class, "index.css", CLDRPaths.CHART_DIRECTORY);
FileCopier.copy(
GenerateAllCharts.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public enum ChartStatus {
.map(x -> VersionInfo.getInstance(x))
.collect(Collectors.toList()));

public static final String DEV_VERSION = "44";
public static final String DEV_VERSION = "45";
public static final VersionInfo DEV_VERSION_VI = VersionInfo.getInstance(DEV_VERSION);

public static final Set<String> CLDR_RELEASE_VERSION_SET =
Expand Down

0 comments on commit f5560bb

Please sign in to comment.