nzw921rx opened a new pull request, #13206:
URL: https://github.com/apache/seatunnel/pull/13206
### Purpose of this pull request
This contribution to Apache SeaTunnel fixes the connector changelog
generator for 3.0.0 and later releases.
The script currently reads only `2.*` tags. As a result, it omits tagged
3.x commits on `*-release` branches and labels them `dev` on development
branches.
The script now accepts unprefixed 2.x tags and both tag formats for major
versions 3 and above, including `v3.0.0` and `3.1.0`. It resolves the
original Git tags and continues to assign each commit its earliest
matching version.
### Does this PR introduce _any_ user-facing change?
Yes. The generated English and Chinese connector changelogs include
entries for 3.0.0 and later releases. The tag `v3.0.0` is displayed as
`3.0.0` in the Version column.
### How was this patch tested?
- Reproduced the missing entries with the original script in a local Git
repository. Verified the fix on release and development branches with
2.x tags, `v3.0.0`, `3.1.0`, `3.10.0`, `v4.0.0`, and untagged commits.
- Ran the updated script on a local release branch at the actual `3.1.0`
tag. Confirmed that both English and Chinese changelogs included
`3.0.0` and `3.1.0` entries.
- Python syntax validation and `git diff --check` passed.
- `./mvnw spotless:apply` and `./mvnw -q -DskipTests verify` both stopped
in Spotless on `seatunnel-config-shade` with a linkage error under
the local JDK 21.
--
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]