Compare commits

..

5 Commits
0.5.0 ... 0.5.1

Author SHA1 Message Date
AlexVonB
0dc281e6ea Bump version 0.5.1 2020-08-11 09:51:04 +02:00
AlexVonB
4e6e20e756 Merge pull request #21 from matthewwithanm/python-publish
Create python-publish.yml
2020-08-11 09:49:29 +02:00
Matthew Dapena-Tretter
9358522c73 Create python-publish.yml
Add workflow for publishing to PyPI.
2020-08-10 19:42:48 -07:00
AlexVonB
1078610066 ignore build folder 2020-08-10 13:03:12 +02:00
AlexVonB
d23dbc77e4 Merge branch 'master' into develop 2020-08-10 13:01:34 +02:00
3 changed files with 33 additions and 1 deletions

31
.github/workflows/python-publish.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
/dist
/MANIFEST
/venv
build/

View File

@@ -10,7 +10,7 @@ read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
pkgmeta = {
'__title__': 'markdownify',
'__author__': 'Matthew Tretter',
'__version__': '0.5.0',
'__version__': '0.5.1',
}