Skip to content

Commit d1ad692

Browse files
committed
test action
1 parent 211762b commit d1ad692

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,14 @@ on:
55
types: [published]
66

77
jobs:
8-
publish-pypi:
8+
pypi-publish:
9+
name: Upload release to PyPI
910
runs-on: ubuntu-latest
11+
environment:
12+
name: pypi
13+
url: https://pypi.org/p/<your-pypi-project-name>
14+
permissions:
15+
id-token: write
1016
steps:
11-
- uses: actions/checkout@master
12-
- name: Set up Python 3.8
13-
uses: actions/setup-python@v2.2.2
14-
with:
15-
python-version: 3.8
16-
- name: Install dependencies
17-
run: pip install -qU setuptools wheel twine
18-
- name: Generating distribution archives
19-
run: python setup.py sdist bdist_wheel
20-
- name: Publish distribution 📦 to PyPI
21-
uses: pypa/gh-action-pypi-publish@master
22-
with:
23-
user: ${{ secrets.PYPI_USERNAME }}
24-
password: ${{ secrets.PYPI_PASSWORD }}
17+
- name: Publish package distributions to PyPI
18+
uses: pypa/gh-action-pypi-publish@release/v1

mongoengine_plus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.1.dev3'
1+
__version__ = '0.1.1.dev4'

0 commit comments

Comments
 (0)