Skip to content

Commit

Permalink
update requirements.txt to remove version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Jul 9, 2024
1 parent c93be7d commit 4267c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Create simplified requirements.txt from pyproject.toml
run: |
awk '/\[tool.poetry.dependencies\]/,/\[tool.poetry.dev-dependencies\]/ {if ($1 != "python" && $1 != "[tool.poetry.dependencies]" && $1 != "[tool.poetry.dev-dependencies]") print}' pyproject.toml | \
sed 's/ = "/==/g' | sed 's/[",^]//g' | sed 's/ *$//' > requirements.txt
sed 's/ = ".*"//' | sed 's/[",^]//g' | sed '/^$/d' > requirements.txt
echo "Contents of requirements.txt:"
cat requirements.txt
Expand Down

0 comments on commit 4267c95

Please sign in to comment.