From f77349547e23109c7288404b20ab8c36f06f7d79 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 10 Jun 2024 02:40:13 +0200 Subject: [PATCH] Fix release publish action (#13462) --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8dc9710d..d6696c87 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip wheel build twine - pip install -e ".[dev]" --extra-index-url https://download.pytorch.org/whl/cpu + pip install -e ".[dev]" openai --extra-index-url https://download.pytorch.org/whl/cpu - name: Check PyPI version shell: python run: | @@ -61,7 +61,7 @@ jobs: if: (github.event_name == 'push' || github.event.inputs.pypi == 'true') && steps.check_pypi.outputs.increment == 'True' run: | git tag -a "v${{ steps.check_pypi.outputs.version }}" -m "$(git log -1 --pretty=%B)" # i.e. "v0.1.2 commit message" - git push origin "v${{ steps.check_pypi.outputs.version }}" + git push origin "v${{ steps.check_pypi.outputs.version }}" || true - name: Publish new release if: (github.event_name == 'push' || github.event.inputs.pypi == 'true') && steps.check_pypi.outputs.increment == 'True' env: