Skip to content

Commit

Permalink
fix: workflow command
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeshi authored Nov 8, 2024
1 parent e103252 commit b4fe445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Get version
id: get_version
run: |
version=$(grep -Po '(?<=version = ")[^"]*' pyproject.toml)
version=$(cat pyproject.toml | grep version | head -1 | awk -F '"' '{print $2}')
echo "version=$version" >> $GITHUB_ENV
shell: bash

Expand Down

0 comments on commit b4fe445

Please sign in to comment.