File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 11# 1. Update changelog
2- # 2. Build the exe file and upload it in the release assets.
3- # 3. Upload a Python Package using Twine
2+ # 2. Upload a Python Package using Twine
43
54name : Release fosslight_source
65
2928 with :
3029 github_token : ${{ secrets.TOKEN }}
3130 branch : main
32-
31+
32+ deploy :
33+ runs-on : ubuntu-18.04
34+ needs : update-changelog
35+ steps :
36+ - uses : actions/checkout@v2
37+ - name : Set up Python
38+ uses : actions/setup-python@v2
39+ with :
40+ python-version : ' 3.7'
41+ - name : Install dependencies
42+ run : |
43+ python -m pip install --upgrade pip
44+ pip install setuptools wheel twine
45+ - name : Build and publish
46+ env :
47+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
48+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
49+ run : |
50+ python setup.py sdist bdist_wheel
51+ twine upload dist/*
Original file line number Diff line number Diff line change 2525 url = 'https://github.com/LGE-OSS/fosslight_source' ,
2626 download_url = 'https://github.com/LGE-OSS/fosslight_source' ,
2727 classifiers = ['Programming Language :: Python :: 3.6' ,
28- 'License :: OSI Approved :: Apache License 2.0 ' ],
28+ 'License :: OSI Approved :: Apache Software License ' ],
2929 install_requires = required ,
3030 entry_points = {
3131 "console_scripts" : [
You can’t perform that action at this time.
0 commit comments