From 81ffe344f3a960149543e025df6899b38ab81329 Mon Sep 17 00:00:00 2001 From: KC Berg Date: Tue, 8 Jul 2025 18:41:28 -0600 Subject: [PATCH] ci: move token logging before tag creation for better debugging --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 423459d..6776b18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,16 +63,16 @@ jobs: run: | VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d '"' -f2) echo "version=$VERSION" >> $GITHUB_OUTPUT - - name: Create and push tag for current version (with verbose logging) - run: | - git tag v${{ steps.get_version.outputs.version }} - git fetch origin --tags --verbose - GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push origin v${{ steps.get_version.outputs.version }} - name: Log generated GitHub App token (for debugging) run: | echo "Generated GitHub App token:" echo "${{ steps.generate_token.outputs.token }}" | sed 's/./& /g' | head -c 100 shell: bash + - name: Create and push tag for current version (with verbose logging) + run: | + git tag v${{ steps.get_version.outputs.version }} + git fetch origin --tags --verbose + GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push origin v${{ steps.get_version.outputs.version }} bump-version: if: github.ref == 'refs/heads/main' && github.event_name == 'push'