davsclaus opened a new pull request, #23646:
URL: https://github.com/apache/camel/pull/23646

   ## Summary
   
   - Add `update-metadata-version.py` script to update `serviceVersion` in 
metadata.json files when container image versions are bumped
   - Update `check-container-versions.yml` workflow to call this script and 
include the regenerated metadata.json files in each commit
   
   After CAMEL-23643 added `serviceVersion` to metadata.json (extracted from 
container image tags), the container version upgrade workflow needs to also 
update these generated files when bumping container.properties — otherwise CI 
detects stale generated files and fails the automated PRs.
   
   The Python script matches entries by `artifactId` and `old serviceVersion` 
to update only the affected entries, and produces output matching Jackson's 
`DefaultPrettyPrinter` format so the result is identical to what the Maven 
build generates.
   
   ## Test plan
   
   - [x] Round-trip formatting test: update + revert produces identical output 
to original
   - [x] Multi-entry module test: AWS (16 entries) all updated, Kafka entries 
unaffected
   - [x] Both metadata.json files (test-infra-all and catalog) tested
   
   _Claude Code on behalf of Claus Ibsen_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to