File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,20 +114,16 @@ jobs:
114114 uses : actions/checkout@v7
115115 with :
116116 ref : ${{ steps.resolve-ref.outputs.ref || inputs.ref }}
117+ fetch-depth : 0
117118
118119 - name : Install uv
119120 uses : astral-sh/setup-uv@v7
120121
121- # ── Set version and build ───────────────────────────────────────
122- - name : Set pre-release version
123- run : |
124- VERSION="${{ inputs.version }}"
125- sed -i "s/^__version__: str = \".*\"/__version__: str = \"${VERSION}\"/" src/airbyte_api/_version.py
126- echo "Updated _version.py to: $VERSION"
127- grep '__version__' src/airbyte_api/_version.py
128-
122+ # ── Build with version override ───────────────────────────────
129123 - name : Build package
130- run : uv run poe build
124+ run : uv build
125+ env :
126+ UV_DYNAMIC_VERSIONING_BYPASS : ${{ inputs.version }}
131127
132128 - name : Publish to PyPI
133129 run : uv publish
You can’t perform that action at this time.
0 commit comments