Skip to content

Commit

Permalink
pre-release: v0.1.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-Zhang committed Jul 5, 2023
1 parent e339c6d commit 79a15e3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pypi-publish
on:
# https://docs.github.com/cn/actions/using-workflows/events-that-trigger-workflows#release
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up Python3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: install pypa/build
run: >-
python -m pip install build --user
- name: build
run: >-
python -m build --sdist --wheel --outdir dist/ .
- name: publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "django-quanttide"
version = "0.1.0-alpha.1"
version = "0.1.0-beta.1"
description = "量潮Django SDK"
authors = ["QuantTide Inc. <[email protected]>"]
license = "Apache 2.0"
Expand Down

0 comments on commit 79a15e3

Please sign in to comment.