Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliukevinjqliu commented Nov 27, 2024

When running without RC version, artifacts will be published to PyPi as the "official version", which is not what we want.

Let's always run with RC version (or as main) to prevent accidentally pushing new official versions to PyPi.

When the RC passes, releasing as the official version downloads artifacts from SVN
https://github.com/apache/iceberg-python/blob/main/mkdocs/docs/how-to-release.md#upload-the-accepted-release-to-pypi

Testing

@kevinjqliukevinjqliu changed the title [infra] Prevent running python-release action without specifying rc version[infra] Prevent running python-release action without a specified rc versionNov 28, 2024
echo "Version input is: ${{github.event.inputs.version }}"
- name: Validate version input
if: ${{github.event.inputs.version != 'main' && !contains(github.event.inputs.version, 'rc') }}
Copy link
ContributorAuthor

@kevinjqliukevinjqliuNov 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to do this since we run on different os environments with different default shells

@kevinjqliu
Copy link
ContributorAuthor

closing in favor of #1391

@kevinjqliukevinjqliu deleted the kevinjqliu/prevent-release-without-rc branch December 4, 2024 19:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@kevinjqliu