Skip to content

Commit

Permalink
git unshallow;
Browse files Browse the repository at this point in the history
  • Loading branch information
yegortokmakov committed Jan 27, 2024
1 parent 4696a16 commit 35739d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# TODO: figure out the right version format to avoid HTTP Error 400: '0.0.0.post1.dev0+d94ae2e' is an invalid value for Version. Error: Can't use PEP 440 local versions. See https://packaging.python.org/specifications/core-metadata for more information.
# - name: Build and publish to TESTpypi
# uses: JRubics/poetry-publish@v1.16
# if: github.ref == 'refs/heads/main'
# with:
# pypi_token: ${{ secrets.PYPI_TOKEN_TEST }}
# repository_name: "testpypi"
# repository_url: "https://test.pypi.org/legacy/"
# plugins: "poetry-dynamic-versioning[plugin]"
- run: |
git fetch --prune --unshallow --tags
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
if: github.event_name == 'release'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ monoplane = "monoplane.cli:cli"
mp = "monoplane.cli:cli"

[tool.poetry-dynamic-versioning]
enable = true
enable = true

0 comments on commit 35739d6

Please sign in to comment.