From 39cd8dd2557b21efff704a66a43bbdd3c13aa84f Mon Sep 17 00:00:00 2001 From: user2589 Date: Tue, 30 May 2023 11:47:06 -0400 Subject: [PATCH] chore: fix release script --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e92f2b1..bd1a01f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,18 @@ jobs: # they will brake package upload later on if not removed run: sudo find dist/ -type f ! -iname '*-manylinux*.whl' -delete + - name: Configure git + # https://github.com/python-semantic-release/python-semantic-release/issues/560 + # Context: + # https://github.com/python-semantic-release/python-semantic-release/commit/2a55f68e2b3cb9ffa9204c00ddbf12706af5c070 + # older version of semantic release is used because of compatibility + # issues with older Python + run: | + git config --system --add safe.directory "*" + - name: Python Semantic Release - uses: relekang/python-semantic-release@v7.9.0 # docs: https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html + uses: python-semantic-release/python-semantic-release@v7.9.0 with: github_token: ${{ secrets.GH_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }}