diff --git a/release-scripts/mandrel-release.java b/release-scripts/mandrel-release.java index 4682436b..7e42d108 100755 --- a/release-scripts/mandrel-release.java +++ b/release-scripts/mandrel-release.java @@ -333,11 +333,11 @@ void createGHRelease(Set jdkVersionsUsed) private List assets(String fullVersion) { - final List assets = List.of( - new File(downloadDir, "mandrel-java17-linux-amd64-" + fullVersion + ".tar.gz"), - new File(downloadDir, "mandrel-java17-linux-aarch64-" + fullVersion + ".tar.gz"), - new File(downloadDir, "mandrel-java17-windows-amd64-" + fullVersion + ".zip") - ); + final List assets = new ArrayList<>(List.of( + new File(downloadDir, "mandrel-java17-linux-amd64-" + fullVersion + ".tar.gz"), + new File(downloadDir, "mandrel-java17-linux-aarch64-" + fullVersion + ".tar.gz"), + new File(downloadDir, "mandrel-java17-windows-amd64-" + fullVersion + ".zip") + )); final int major = Integer.parseInt(fullVersion.substring(0, 2)); if (major == 21) {