Skip to content

Commit

Permalink
updating ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnnnnnnnnnnnn committed Aug 24, 2024
1 parent 3422e82 commit 6ce9d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Extract version from pyproject.toml
id: extract_version
run: |
VERSION=$(grep '^version =' pyproject.toml | sed -E 's/version = \"([^\"]+)\"/\\1/')
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])")
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Install dependencies
run: |
Expand Down

0 comments on commit 6ce9d35

Please sign in to comment.