File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - ' *'
5+
6+ jobs :
7+ publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : actions/setup-python@v3
12+ with :
13+ python-version : ' 3.9'
14+ - run : python --version
15+ - run : python -m pip install -U pip
16+ - run : python -m pip install -U build
17+ - run : python -m build
18+ - run : ls dist
19+ - run : python -m pip install -U twine
20+ - name : Publish package
21+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
22+ uses : pypa/gh-action-pypi-publish@release/v1
23+ with :
24+ user : __token__
25+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1616setup (
1717 name = 'django-requestlogs' ,
1818 zip_safe = False ,
19- version = '0.3 .0' ,
19+ version = '0.4 .0' ,
2020 description = 'Audit logging for Django and Django Rest Framework' ,
2121 long_description = long_description ,
2222 long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments