Skip to content

Commit

Permalink
publish using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalik committed Dec 14, 2020
1 parent 961729e commit 1c1d036
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish

on:
release:
types:
- created

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install Flit
run: pip install flit
- name: Install Dependencies
run: flit install --symlink
- name: Publish
env:
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
run: flit publish
2 changes: 1 addition & 1 deletion docs/docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes

## 0.9.3
## 0.9.4

* [Nested routers support](https://django-ninja.rest-framework.com/tutorial/routers/#nested-routers) (Thanks to @fojetin)

Expand Down
2 changes: 1 addition & 1 deletion ninja/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Django Ninja - Fast Django REST framework"""

__version__ = "0.9.3"
__version__ = "0.9.4"

from ninja.main import NinjaAPI
from ninja.params import Query, Path, Header, Cookie, Body, Form
Expand Down

0 comments on commit 1c1d036

Please sign in to comment.