The project is to automtically publish to pypi on creation of release tag in git repo
Project description
auto-release-to-pypi
This repo is a reference code to automatically push the package to pypi on creating a github release
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numops-0.0.3.tar.gz
(15.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
numops-0.0.3-py3-none-any.whl
(15.5 kB
view details)
File details
Details for the file numops-0.0.3.tar.gz.
File metadata
- Download URL: numops-0.0.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/2.0.0 pkginfo/1.8.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85098015cbe5e9f361c7a4c3e10763d161000f24bb4ebf647d386aef34ee4620
|
|
| MD5 |
794c26cd25cf01d44f93a369c396e1c3
|
|
| BLAKE2b-256 |
0aeb5b6040a9721487565351f06239b639375465d75def7814a0ab6977d88772
|
File details
Details for the file numops-0.0.3-py3-none-any.whl.
File metadata
- Download URL: numops-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/2.0.0 pkginfo/1.8.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28b4e59e8f3b38fa7241af59bdd009d2986eb0756529abdf787ea41f7b3e4803
|
|
| MD5 |
283468c93903a4ffc9c6a90cf1e73497
|
|
| BLAKE2b-256 |
ee87b933e2b234aadd948f61c40e3bf74c9e1975cc88f00c4754d010353fe1c0
|