From ac014066ce2982655452ffdbace0d95f9407d466 Mon Sep 17 00:00:00 2001 From: ShawnDeng-code Date: Wed, 25 Dec 2024 23:11:38 +0800 Subject: [PATCH] chore: update github action config --- .github/workflows/release-build.yaml | 5 +++-- pyproject.toml | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 1850c78..4213ec7 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -19,12 +19,13 @@ jobs: - name: setup-pypi run: | - poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} poetry self add poetry-pyinstaller-plugin poetry self add poetry-plugin-taskipy - name: build - run: poetry publish --build + run: | + poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} + poetry publish --build - name: Release uses: softprops/action-gh-release@v2 diff --git a/pyproject.toml b/pyproject.toml index 2dcbafa..a9f59a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,16 +1,18 @@ [tool.poetry] name = "repo-scaffold" -version = "0.2.0" +version = "0.1.0" description = "shawn deng repo temple project" authors = ["colyerdeng "] license = "MIT" -readme = {file = "README.md", content-type = "text/markdown"} +readme = "README.md" +include = [ + "template-python/**/*" +] [tool.poetry.dependencies] python = "^3.12" cookiecutter = "^2.6.0" click = "^8.1.8" -githubkit = "^0.12.2" [tool.poetry.group.dev.dependencies] ruff = "^0.8.4"