From a5a15a29b79ee43fdc5c0588a31a38ace1608399 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 10 Jun 2024 01:27:57 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4ab74bc..67a5272 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,10 +56,9 @@ jobs: - name: Publish new tag if: steps.check_pypi.outputs.increment == 'True' run: | - COMMIT_MESSAGE=$(git log -1 --pretty=%B) git config --global user.name "UltralyticsAssistant" git config --global user.email "web@ultralytics.com" - git tag -a "v${{ steps.check_pypi.outputs.version }}" -m "$COMMIT_MESSAGE" + 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 }}" - name: Publish to PyPI continue-on-error: true