You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Konstantin Knauf (Jira)" <ji...@apache.org> on 2021/07/29 07:31:11 UTC

[jira] [Reopened] (FLINK-12060) Unify change pom version scripts

     [ https://issues.apache.org/jira/browse/FLINK-12060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Knauf reopened FLINK-12060:
--------------------------------------

Re-opening in accordance with https://issues.apache.org/jira/browse/FLINK-23206.

> Unify change pom version scripts
> --------------------------------
>
>                 Key: FLINK-12060
>                 URL: https://issues.apache.org/jira/browse/FLINK-12060
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Scripts
>    Affects Versions: 1.8.0
>            Reporter: Ufuk Celebi
>            Priority: Minor
>              Labels: auto-closed
>
> We have three places in `tools` that we use to update the pom versions when releasing:
> 1. https://github.com/apache/flink/blob/048367b/tools/change-version.sh#L31
> 2. https://github.com/apache/flink/blob/048367b/tools/releasing/create_release_branch.sh#L60
> 3. https://github.com/apache/flink/blob/048367b/tools/releasing/update_branch_version.sh#L52
> The 1st option is buggy (it does not work with the new versioning of the shaded Hadoop build, e.g. {{2.4.1-1.9-SNAPSHOT}} will not be replaced). The 2nd and 3rd work for pom files, but the 2nd one misses a change for the doc version that is present in the 3rd one.
> I think we should unify these and call them where needed instead of duplicating this code in unexpected ways.
> An initial quick fix could remove the 1st script and update the 2rd one to match the 3rd one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)