diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index dce3d06..18c860f 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -16,10 +16,10 @@ jobs: run: | echo "##[set-output name=ver;]$(echo ${GITHUB_REF#refs/*/})" id: extract_name_and_version - - run: sed -i 's/0.1.0/'"${{ steps.extract_name_and_version.outputs.ver }}"'/' pyproject.toml + - run: sed -i 's/0.0.0/'"${{ steps.extract_name_and_version.outputs.ver }}"'/' pyproject.toml - run: head -n 10 pyproject.toml - - run: sed -i 's/0.1.0/'"${{ steps.extract_name_and_version.outputs.ver }}"'/' curlify3/__init__.py - - run: python -m pip install poetry~=1.8.0 + - run: sed -i 's/0.0.0/'"${{ steps.extract_name_and_version.outputs.ver }}"'/' winregistry.py + - run: python -m pip install poetry~=1.8.4 - run: poetry build - run: poetry config http-basic.pypi __token__ ${{ secrets.PYPI_PASS }} - run: poetry publish diff --git a/Justfile b/Justfile index f312f4c..1a5893d 100644 --- a/Justfile +++ b/Justfile @@ -5,11 +5,10 @@ fmt: black isort isort: poetry run isort {{ SOURCE_DIR }} -# poetry run isort test_curlify3.py --diff black: poetry run black {{ SOURCE_DIR }} -# poetry run isort test_curlify3.py + pytest: poetry run pytest -vv