Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Sep 8, 2022

Since we are not always updating the version suffix in code (rc1/rc2/b1/b2), the tag specified via --tag-build prefix should override the one in code rathe than the other way round.

So what's left now - we will just print warning if the suffix does not match.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Since we are not always updating the version suffix in code
(rc1/rc2/b1/b2), the tag specified via --tag-build prefix should
override the one in code rathe than the other way round.

So what's left now - we will just print warning if the suffix does
not match.
@potiuk potiuk requested review from ashb and mik-laj as code owners September 8, 2022 17:09
@potiuk potiuk added this to the Airflow 2.4.0 milestone Sep 8, 2022
@jedcunningham
Copy link
Member

Let me make sure I follow correctly. Code has 2.4.0.dev0, version suffix is 2.4.0rc1/rc1, code keeps dev0, package gets rc1?

@potiuk
Copy link
Member Author

potiuk commented Sep 8, 2022

Correct . Suffix passed at preparation (rc1) will override whatever suffix is in the code (.dev0). Later on when we release 2.4.0, we usually don't bother to switch to .dev0 so rc1/rc2 will be just adding suffix rather than replacing it

@jedcunningham jedcunningham merged commit 9cf6f6a into apache:main Sep 8, 2022
potiuk added a commit that referenced this pull request Sep 8, 2022
Since we are not always updating the version suffix in code
(rc1/rc2/b1/b2), the tag specified via --tag-build prefix should
override the one in code rathe than the other way round.

So what's left now - we will just print warning if the suffix does
not match.

(cherry picked from commit 9cf6f6a)
@potiuk potiuk deleted the skip-error-on-version-override branch December 2, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants