lvyanquan opened a new pull request, #4325:
URL: https://github.com/apache/flink-cdc/pull/4325

   # Add FLINK_VERSION suffix support for version management
   
   ## Motivation
   
   When building and deploying CDC connectors for different Flink versions, 
it's helpful to have the Flink version embedded in the artifact version. This 
makes it easier to distinguish which Flink version a particular artifact is 
compatible with.
   
   ## Changes
   
   - Added `tools/update_version.sh` script for standalone version updates
   - Enhanced `tools/releasing/deploy_staging_jars.sh` to automatically update 
project version when `FLINK_VERSION` is set
   
   ## Usage
   
   ### Deploy with Flink version suffix
   
   When deploying with a specific Flink version, the script will automatically 
update the project version:
   
   ```bash
   FLINK_VERSION=2.2 ./tools/releasing/deploy_staging_jars.sh
   ```
   
   **Version transformation example:**
   
   | Current Version | FLINK_VERSION | New Version |
   |-----------------|---------------|-------------|
   | `3.6`           | `2.2`        | `3.6-2.2`  |


-- 
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