Skip to content

Commit

Permalink
Add PyPI release step, PyPI metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
pmdevita committed Aug 10, 2023
1 parent aee9c84 commit eb862a3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.version.outputs.RELEASE_VER }}


- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.version.outputs.RELEASE_VER }}
name: Release ${{ steps.version.outputs.RELEASE_VER }}
body: ${{ steps.tag_version.outputs.changelog }}
- name: Build and publish to PyPI
uses: JRubics/poetry-publish@v1.17
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}


15 changes: 14 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
[tool.poetry]
name = "atsume"
version = "0.3.0"
description = ""
description = "An opinionated, Django-like Discord bot framework for Hikari, Tanjun, and Ormar"
authors = ["Peter DeVita <mewtwo2643@yahoo.com>"]
readme = "Readme.md"
license = "MIT"
homepage = "https://github.com/pmdevita/hikari-atsume"
repository = "https://github.com/pmdevita/hikari-atsume"
documentation = "https://pmdevita.github.io/hikari-atsume/"
keywords = ["hikari", "discord", "ormar", "tanjun", "framework"]
classifiers = [
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Topic :: Communications :: Chat",
"Typing :: Typed"
]

[tool.poetry.dependencies]
python = ">=3.10,<3.12"
Expand Down

0 comments on commit eb862a3

Please sign in to comment.