Skip to content

Commit 3b36334

Browse files
committed
freeze version for publishing feast-no-telemetry python package
Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
1 parent c76d09c commit 3b36334

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
147147
publish-python-sdk-no-telemetry:
148148
runs-on: ubuntu-latest
149+
needs: get-version
149150
env:
150151
TWINE_USERNAME: __token__
151152
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
@@ -157,6 +158,8 @@ jobs:
157158
- name: Install dependencies
158159
run: make install-python-ci-dependencies PYTHON=3.7
159160
- name: Publish Python Package
161+
env:
162+
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ needs.get-version.outputs.version_without_prefix }}
160163
run: |
161164
cd sdk/python
162165
sed -i 's/DEFAULT_FEAST_USAGE_VALUE = "True"/DEFAULT_FEAST_USAGE_VALUE = "False"/g' feast/constants.py

0 commit comments

Comments
 (0)