File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow 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 : Upload Python Package
5+
6+ on :
7+ release :
8+ types : [created]
9+
10+ jobs :
11+ deploy :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Set up Python
18+ uses : actions/setup-python@v2
19+ with :
20+ python-version : ' 3.x'
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install setuptools wheel twine
25+ - name : Build and publish
26+ env :
27+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
29+ run : |
30+ python setup.py sdist bdist_wheel
31+ twine upload dist/*
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'Timecard-App' ,
10- version = '2.0.5 ' ,
10+ version = '2.0.6 ' ,
1111 description = 'Track time beautifully.' ,
1212 long_description = long_description ,
1313 long_description_content_type = 'text/markdown' ,
Original file line number Diff line number Diff line change 5555 </provides >
5656
5757 <releases >
58- <release version =" 2.0.5 " date =" 2021-03-19" >
58+ <release version =" 2.0.6 " date =" 2021-03-19" >
5959 <description >
6060 <p >Fixes erroneous duration when stopping after pause.</p >
6161 </description >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def build(cls):
5353 """Construct the application."""
5454 logging .debug ("Building application." )
5555 cls .app .setApplicationName ("Timecard" )
56- cls .app .setApplicationVersion ('2.0.5 ' )
56+ cls .app .setApplicationVersion ('2.0.6 ' )
5757 cls .app .setDesktopFileName ('com.codemouse92.timecard' )
5858 cls .app .setWindowIcon (cls .icon )
5959
Original file line number Diff line number Diff line change 1- TIMECARD 2.0.5
1+ TIMECARD 2.0.6
22
33Created by Jason C. McDonald
44(CodeMouse92)
You can’t perform that action at this time.
0 commit comments