File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ name : pypi
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : ' 3.8'
16+ - name : Install Dependencies
17+ run : pip install poetry
18+ - name : Build & Upload
19+ env :
20+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
21+ run : |
22+ poetry config pypi-token.pypi $PYPI_TOKEN
23+ poetry version $(git describe --tags --abbrev=0)
24+ poetry build
25+ poetry publish
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name = "crescent-ext-docstrings"
66packages = [
77 {include = " crescent/ext/docstrings" },
88]
9- version = " 0.1.0 "
9+ version = " 0"
1010
1111[tool .poetry .dependencies ]
1212docstring-parser = " ^0.14.1"
You can’t perform that action at this time.
0 commit comments