This is an automated email from the ASF dual-hosted git repository. cdeppisch pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new bcc36954a8e camel-jbang: Propagate versions when using --fresh option in export bcc36954a8e is described below commit bcc36954a8e427bbe8c348705081bfdc6f0ee0a0 Author: Christoph Deppisch <cdeppi...@redhat.com> AuthorDate: Thu Jun 27 17:09:50 2024 +0200 camel-jbang: Propagate versions when using --fresh option in export - When using --fresh option we need to propagate all versions to the run command in order to not lose the information in the export - Fresh run command will set the versions to the .camel-jbang-run.properties and this will influence the export that follows after the fresh run --- .../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java index 5de37553500..20fd0e31ac6 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java @@ -296,6 +296,11 @@ abstract class ExportBaseCommand extends CamelCommand { run.exclude = exclude; run.openapi = openapi; run.download = download; + run.camelVersion = camelVersion; + run.quarkusVersion = quarkusVersion; + run.springBootVersion = springBootVersion; + run.kameletsVersion = kameletsVersion; + run.localKameletDir = localKameletDir; return run.runSilent(ignoreLoadingError); }