From d434cb6dacae29022eb7176f59777225f8b2c782 Mon Sep 17 00:00:00 2001 From: Taylor Hakes Date: Sat, 16 Sep 2023 16:48:26 -0700 Subject: [PATCH] fix(release): fix version change --- .github/workflows/release.yml | 11 +++++++++++ pyproject.toml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb782db..9ba96ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ jobs: concurrency: release permissions: id-token: write + contents: write environment: production steps: - uses: actions/checkout@v2 @@ -18,6 +19,16 @@ jobs: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }} + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + + - name: deps + run: python -m pip install -U build + + - name: build + run: python -m build + - name: Python Semantic Release id: semantic_release uses: taylorhakes/python-semantic-release@master diff --git a/pyproject.toml b/pyproject.toml index a4e5d94..d423041 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,5 +6,5 @@ requires = [ build-backend = "setuptools.build_meta" [tool.semantic_release] -version_variable = "setup.py:__version__" +version_variables = ["setup.py:__version__"] branch = "master"