Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/nightly-pypi-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ permissions:

jobs:
set-version:
if: github.repository == 'apache/iceberg-python' # Only run for apache repo
if: github.repository == 'apache/iceberg-python' || github.event_name == 'workflow_dispatch'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice add!

runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.set-version.outputs.VERSION }}
Expand All @@ -55,6 +55,7 @@ jobs:

- name: Debug version
run: echo "Publishing version ${STEPS_SET_VERSION_OUTPUTS_VERSION}"
shell: bash
env:
STEPS_SET_VERSION_OUTPUTS_VERSION: ${{ steps.set-version.outputs.VERSION }}

Expand All @@ -65,6 +66,7 @@ jobs:
version: ${{ needs.set-version.outputs.VERSION }}
testpypi-publish:
name: Publish to TestPypi
if: github.repository == 'apache/iceberg-python'
needs:
- nightly-build
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pypi-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1

- name: Set version with RC
shell: bash
env:
VERSION: ${{ inputs.VERSION }}
run: uv version "$VERSION"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
# Export variables for future steps
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "RC=$RC" >> $GITHUB_OUTPUT
shell: bash
env:
GITHUB_EVENT_INPUTS_VERSION: ${{ github.event.inputs.version }}
GITHUB_EVENT_INPUTS_RC: ${{ github.event.inputs.rc }}
Expand All @@ -89,6 +90,7 @@ jobs:
run: |
echo "Using Version: ${STEPS_VALIDATE_INPUTS_OUTPUTS_VERSION}"
echo "Using RC: ${STEPS_VALIDATE_INPUTS_OUTPUTS_RC}"
shell: bash
env:
STEPS_VALIDATE_INPUTS_OUTPUTS_VERSION: ${{ steps.validate-inputs.outputs.VERSION }}
STEPS_VALIDATE_INPUTS_OUTPUTS_RC: ${{ steps.validate-inputs.outputs.RC }}
Expand All @@ -113,6 +115,7 @@ jobs:
enable-cache: false

- name: Validate current pyiceberg version
shell: bash
env:
VERSION: ${{ needs.validate-inputs.outputs.VERSION }}
run: |
Expand Down
Loading