Skip to content

Commit a32c012

Browse files
committed
Releases sphinx.ext.inheritance_diagram as btd.sphinx.inheritance_diagram.
2 parents b401c18 + 3bb55d6 commit a32c012

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Python Package
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
branches:
8+
- '*'
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up Python
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: '3.x'
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install setuptools wheel twine
23+
- name: Package and publish
24+
env:
25+
TWINE_USERNAME: __token__
26+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
27+
run: |
28+
python setup.py sdist bdist_wheel
29+
twine upload dist/*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
projectName = "sphinx.inheritance_diagram"
5151
projectNameWithPrefix = "btd." + projectName
52-
version = "2.3.1.dev1"
52+
version = "2.3.1.post1"
5353

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

0 commit comments

Comments
 (0)