Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ upload: script: - mv "$pypirc" $HOME/.pypirc - pipenv run build - pipenv run upload - pipenv run upload dist/* variables: *variables cache: *cache rules: Loading Pipfile +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ template = {editable = true,path = "."} lint = "pre-commit run --all-files" build = "python setup.py bdist_wheel" clean = "git clean -fdX" upload = "sh -c 'twine upload dist/*'" upload = "twine upload" bats = "bats -t tests/" check = "sh -c 'rm -rf dist/ && python setup.py bdist_wheel && twine check dist/*'" doctest = "sh -c 'python -m doctest template/*.py'" README.rst +4 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,10 @@ Release Release requires `Pipenv <https://docs.pipenv.org>`_. To bump the version run :code:`pipenv run bumpversion major|minor|patch` to update the version and git commit and tag. Then run :code:`pipenv run upload` to upload the new version to PyPI and :code:`git push --follow-tags` to push the git commit and tag. commit and tag the changes, then run :code:`git push --follow-tags` to push the git commit and tag. The GitLab CI will then build and upload a release to PyPI. To manually upload to PyPI run :code:`pipenv run build` to build the Python package and :code:`pipenv run upload -s dist/*` to upload a signed version. License ------- Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ upload: script: - mv "$pypirc" $HOME/.pypirc - pipenv run build - pipenv run upload - pipenv run upload dist/* variables: *variables cache: *cache rules: Loading
Pipfile +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ template = {editable = true,path = "."} lint = "pre-commit run --all-files" build = "python setup.py bdist_wheel" clean = "git clean -fdX" upload = "sh -c 'twine upload dist/*'" upload = "twine upload" bats = "bats -t tests/" check = "sh -c 'rm -rf dist/ && python setup.py bdist_wheel && twine check dist/*'" doctest = "sh -c 'python -m doctest template/*.py'"
README.rst +4 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,10 @@ Release Release requires `Pipenv <https://docs.pipenv.org>`_. To bump the version run :code:`pipenv run bumpversion major|minor|patch` to update the version and git commit and tag. Then run :code:`pipenv run upload` to upload the new version to PyPI and :code:`git push --follow-tags` to push the git commit and tag. commit and tag the changes, then run :code:`git push --follow-tags` to push the git commit and tag. The GitLab CI will then build and upload a release to PyPI. To manually upload to PyPI run :code:`pipenv run build` to build the Python package and :code:`pipenv run upload -s dist/*` to upload a signed version. License ------- Loading