Skip to content

Commit f6f2cd8

Browse files
committed
added publishing
1 parent eca4c9a commit f6f2cd8

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/pythonpublish.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Upload Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: '3.x'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install setuptools wheel twine
20+
make init
21+
make test
22+
- name: Build and publish
23+
env:
24+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
25+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
run: |
27+
make publish

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Versions should comply with PEP440. For a discussion on single-sourcing
77
# the version across setup.py and the project code, see
88
# https://packaging.python.org/en/latest/single_source_version.html
9-
version='0.0.4.0',
9+
version='0.0.4.1',
1010
package_dir={'': 'src'},
1111

1212
description='The Official Masonite ORM',

0 commit comments

Comments
 (0)