Skip to content

Commit

Permalink
Merge pull request #100 from tekktrik/dev/update-ci
Browse files Browse the repository at this point in the history
Fix automatically updating version tag
  • Loading branch information
tekktrik authored Dec 20, 2023
2 parents cf75117 + 4655123 commit 1e73bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.pypi_username }}
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
find -type f -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) -exec sed -i -e "s/0.0.0+auto.0/1.2.3/" {} +
find -type f -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) -exec sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" {} +
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dynamic = ["dependencies", "optional-dependencies"]
circlink = "circlink.cli:app"

[tool.setuptools]
packages = ["circlink"]
packages = ["circlink", "circlink.cli"]
include-package-data = true

[tool.setuptools.package-data]
Expand Down

0 comments on commit 1e73bcf

Please sign in to comment.