File tree Expand file tree Collapse file tree 9 files changed +65
-119
lines changed
Expand file tree Collapse file tree 9 files changed +65
-119
lines changed Original file line number Diff line number Diff line change 1+ # This workflows will upload a Python Package using Twine when a release is created
2+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+ name : publish
5+
6+ on :
7+ release :
8+ types : [created]
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up Python
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : ' 3.x'
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install setuptools wheel twine
23+ - name : Build and publish
24+ env :
25+ TWINE_USERNAME : __token__
26+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
27+ run : |
28+ python setup.py sdist bdist_wheel
29+ twine upload dist/*
Original file line number Diff line number Diff line change 1+ # This workflows will upload a Python Package using Twine when a release is created
2+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+ name: publish
5+
6+ on:
7+ release:
8+ types: [created]
9+
10+ jobs:
11+ deploy:
12+ runs-on: ubuntu-latest
13+ steps:
14+ - uses: actions/checkout@v2
15+ - name: Set up Python
16+ uses: actions/setup-python@v2
17+ with:
18+ python-version: '3.x'
19+ - name: Install dependencies
20+ run: |
21+ python -m pip install --upgrade pip
22+ pip install setuptools wheel twine
23+ - name: Build and publish
24+ env:
25+ TWINE_USERNAME: __token__
26+ TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
27+ run: |
28+ python setup.py sdist bdist_wheel
29+ twine upload --repository testpypi dist/*
Original file line number Diff line number Diff line change 11* .pyc
22__pycache__
33/dist
4+ /build
45* .egg-info
56.coverage
67.reports
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- __version__ = '0.1.7 '
1+ __version__ = '0.0.1 '
22
33default_app_config = 'dbcleanup.apps.DBCleanupConfig'
Original file line number Diff line number Diff line change 11[metadata]
2- name = ppb- django-dbcleanup
2+ name = django-dbcleanup
33version = attr: dbcleanup.__version__
44description = Easily monitor database usage - and clean it up (based on your django models)
55author = PPB - InfoSec Engineering
6- author_email = InfoSec.Engineering@ppb .com
7- url = https://gitlab.app.betfair/security/ surface/django-dbcleanup/
6+ author_email = surface@paddypowerbetfair .com
7+ url = https://github.com/ surface-security /django-dbcleanup/
88long_description = file: README.md
9+ long_description_content_type = text/markdown
910license = MIT
1011classifiers =
11- Development Status :: 5 - Development
12+ Development Status :: 5 - Production/Stable
1213 Framework :: Django
13- License :: Free for any use
1414 License :: OSI Approved :: MIT License
1515 Intended Audience :: Developers
1616 Operating System :: OS Independent
You can’t perform that action at this time.
0 commit comments