I would like to know how I could release the files published to Pypi to Github releases.
After deploying to pypi, these files should be maintained on the CI server (
dist/reponame-0.0.3-py3-none-any.whl). However, they are not released to github
language: python python: - "3.7" cache: directories: - $HOME/.cache/pip install: - echo "========== INSTALL ==========" - pip install -r requirements.txt # - pip install flake8 script: - echo "========== TESTING ==========" - python -m unittest test/test_*.py before_deploy: echo "========== DEPLOYING ==========" deploy: - provider: pypi server: https://test.pypi.org/legacy/ distributions: "sdist bdist_wheel" username: "__token__" password: secure: "pass" on: branch: master tags: true - provider: releases api_key: secure: "password" file_glob: true file: dist/* skip_cleanup: true on: branch: master tags: true after_deploy: - ls -alh - ls -alh dist/ - ls -alh build/
I have tried other configurations for file but none work.
What am I missing?