Skip to content

Commit

Permalink
Releases sphinx.ext.inheritance_diagram as btd.sphinx.inheritance_dia…
Browse files Browse the repository at this point in the history
…gram.
  • Loading branch information
Paebbels committed Jan 12, 2020
2 parents b401c18 + 3bb55d6 commit a32c012
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Python Package

on:
push:
tags:
- '*'
branches:
- '*'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Package and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

projectName = "sphinx.inheritance_diagram"
projectNameWithPrefix = "btd." + projectName
version = "2.3.1.dev1"
version = "2.3.1.post1"

github_url = "https://github.com/buildthedocs/" + projectName
rtd_url = "https://" + projectNameWithPrefix.replace(".", "-") + ".readthedocs.io/en/latest/"
Expand Down

0 comments on commit a32c012

Please sign in to comment.