This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new 2d35665a92 Avoid updating quarkus.version in antora.yml on the quarkus-main branch 2d35665a92 is described below commit 2d35665a922a2304ff1fd6a6813c80de84a6e994 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Thu Feb 22 07:30:00 2024 +0000 Avoid updating quarkus.version in antora.yml on the quarkus-main branch --- tooling/scripts/update-antora-config.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tooling/scripts/update-antora-config.groovy b/tooling/scripts/update-antora-config.groovy index 4d3459df84..cb8df4b500 100644 --- a/tooling/scripts/update-antora-config.groovy +++ b/tooling/scripts/update-antora-config.groovy @@ -53,6 +53,11 @@ replaceInFiles.each { path -> while (m.find()) { final String property = m.group(3) final String newValue = project.properties.get(property) + if (property == "quarkus.version" && newValue == "999-SNAPSHOT") { + // Skip updating this on quarkus-main + continue + } + println " - replacing ${property} '" + m.group(2) +"' -> '${newValue}'" m.appendReplacement(newContent, '$1 ' + Matcher.quoteReplacement(newValue) + ' # replace ' + Matcher.quoteReplacement('${' + property + '}')) }