Skip to content

Commit

Permalink
publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Millet committed Jun 15, 2024
1 parent 9699144 commit c836045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
run: >-
version=$(echo $GITHUB_REF | cut -d / -f 3)
echo "will use version $version"
tree || true
ls -la
ls -la mmuxer
sed -i "s/__version__ = .*/__version__ = \"$version\"/g" mmuxer/__init__.py
- name: Publish package distributions to PyPI
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dynamic = ["version"]

[tool.pdm.version]
source = "file"
path = "__init__.py"
path = "mmuxer/__init__.py"

[tool.pdm.dev-dependencies]
dev = [
Expand Down

0 comments on commit c836045

Please sign in to comment.