-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bumped version and added a publish tash in preparation for a new release
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: release | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
# Issue ref: https://github.com/actions/setup-python/issues/436 | ||
# cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
python-version-file: pyproject.toml | ||
|
||
- name: Install poetry | ||
run: python3 -m pip install poetry | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
|
||
- name: Build package to dist/ | ||
run: poetry build | ||
|
||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ tracker = "https://github.com/volfpeter/motorhead/issues" | |
|
||
[tool.poetry] | ||
name = "motorhead" | ||
version = "0.2309.0" | ||
version = "0.2402.0" | ||
description = "Async MongoDB with vanilla Pydantic v2+ - made easy." | ||
authors = ["Peter Volf <[email protected]>"] | ||
readme = "README.md" | ||
|