Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Oct 31, 2025

Tagging providers after release after #57337 happened after preparing the tarball - which was wrong :) as tarball uses the tag to build the -sources package. Also it cannot be done too early becasue tags are created based on the provider packages prepared in dist.

So - tagging providers SHOULD happen between creating provider distributions and creating tarball.

This PR moves creation of the tarball to the right place, it also improves a bit the "tag-providers" step:

  • it uses PACKAGE_DATE environment variable if it is defined
  • it does not react on existing tags - it simply overwrites the tags if such tags exist.

^ 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 airflow-core/newsfragments.

Tagging providers after release after apache#57337 happened after preparing
the tarball - which was wrong :) as tarball uses the tag to build
the -sources package. Also it cannot be done too early becasue
tags are created based on the provider packages prepared in dist.

So - tagging providers *SHOULD* happen between creating provider
distributions and creating tarball.

This PR moves creation of the tarball to the right place, it also
improves a bit the "tag-providers" step:

* it uses PACKAGE_DATE environment variable if it is defined
* it does not react on existing tags - it simply overwrites the
  tags if such tags exist.
@potiuk potiuk force-pushed the move-tagging-providers-to-earlier-step branch from 384884f to 99dcac6 Compare October 31, 2025 15:51
@eladkal eladkal removed the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Oct 31, 2025
@eladkal eladkal merged commit 86c165b into apache:main Oct 31, 2025
116 checks passed
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
Tagging providers after release after apache#57337 happened after preparing
the tarball - which was wrong :) as tarball uses the tag to build
the -sources package. Also it cannot be done too early becasue
tags are created based on the provider packages prepared in dist.

So - tagging providers *SHOULD* happen between creating provider
distributions and creating tarball.

This PR moves creation of the tarball to the right place, it also
improves a bit the "tag-providers" step:

* it uses PACKAGE_DATE environment variable if it is defined
* it does not react on existing tags - it simply overwrites the
  tags if such tags exist.
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