Skip to content

Commit

Permalink
release: 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwang52005 committed Aug 13, 2024
1 parent 7f69e2a commit 832a506
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,14 @@ jobs:
with:
python-version: '3.9'

- name: Install Poetry
run: pip install poetry==latest


- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Build package
run: |
poetry build
- name: Publish to PyPI
- name: Build and Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
USERNAME: ${{ secrets.PYPI_USERNAME }}
PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
poetry publish --build --username $TWINE_USERNAME --password $TWINE_PASSWORD --skip-existing -vvv
publish --build --username $USERNAME --password $PASSWORD --skip-existing
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pokepoke_miss"
version = "0.1.7"
version = "0.1.8"
description = "wmc的戳一戳回复插件,消息内容、概率都可以定制喔~"
authors = ["Miaowing <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 832a506

Please sign in to comment.