Skip to content

Commit

Permalink
Temporary disable Python releases before CI/CD is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Jul 22, 2024
1 parent 5eeef06 commit 2abdc73
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ jobs:
PY_VERSION=$(grep -m 1 ^version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
if [[ "$PY_VERSION" != "$VERSION" ]]; then
sed -i "s/version = \"$PY_VERSION\"/version = \"$VERSION\"/g" pyproject.toml
git add pyproject.toml
git commit -m "Update version number to $VERSION"
git push
cat pyproject.toml
# Temporary disable Python publish
#git add pyproject.toml
#git commit -m "Update version number to $VERSION"
#git push
fi
- name: install project dependencies
Expand All @@ -107,13 +107,14 @@ jobs:
- name: Install dependencies
working-directory: "./pramen-py"
run: poetry install --no-interaction --no-root

- name: build and publish the wheel to jfrog
working-directory: "./pramen-py"
env:
ENV: pypi
PRAMENPY_PYPI_TOKEN: ${{ secrets.PRAMENPY_PYPI_TOKEN }}
run: make --silent publish

# Temporary disable Python publish
#- name: build and publish the wheel to jfrog
# working-directory: "./pramen-py"
# env:
# ENV: pypi
# PRAMENPY_PYPI_TOKEN: ${{ secrets.PRAMENPY_PYPI_TOKEN }}
# run: make --silent publish

release-sbt:
needs: [ "release-python" ]
Expand Down

0 comments on commit 2abdc73

Please sign in to comment.