mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
[trivial] build script fix for website-only: It was adding an & to the full version string every call.
This commit is contained in:
1 parent
af9861ad9f
commit
7422b28e52
1 file changed
+1
-1
@@ -23,7 +23,7 @@ public class FetchCurrentVersion {
|
||||
BufferedReader br = new BufferedReader(new InputStreamReader(in, "UTF-8"));
|
||||
for (String line = br.readLine(); line != null; line = br.readLine()) {
|
||||
Matcher m = VERSION_PATTERN.matcher(line);
|
||||
if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2);
|
||||
if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2).replace(""", "\"");
|
||||
}
|
||||
throw new IOException("Expected a span with id 'currentVersion'");
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user