diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..99c3654 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +on: + release: + types: [published] + +jobs: + Release: + name: Release + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + + - name: Install Rye + run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash + + - name: Build + run: | + source "$HOME/.rye/env" + rye build + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index f15213e..d6f82c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "earcut-py" -version = "0.3.0" +version = "0.3.1" description = "A pure Python port of the Earcut polygon triangulation library." authors = [ { name = "MIERUNE Inc.", email = "info@mierune.co.jp" },