fix: add debug output and quote git URL

Check if GITHUB_TOKEN is being injected properly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Barry Walker
2026-01-13 16:23:21 -05:00
parent e12e095a82
commit 6ed551f2d4
+2 -1
View File
@@ -100,9 +100,10 @@ steps:
TAG=$(cat .tag) TAG=$(cat .tag)
VERSION=$(cat .version) VERSION=$(cat .version)
echo "Creating tag $TAG for version $VERSION" echo "Creating tag $TAG for version $VERSION"
echo "Token length: ${#GITHUB_TOKEN}"
git config user.email "ci@woodpecker.local" git config user.email "ci@woodpecker.local"
git config user.name "Woodpecker CI" git config user.name "Woodpecker CI"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/barryw/PaperlessMCP.git git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/barryw/PaperlessMCP.git"
git tag -a "$TAG" -m "Release $VERSION" git tag -a "$TAG" -m "Release $VERSION"
git push origin "$TAG" git push origin "$TAG"
depends_on: [package, docker] depends_on: [package, docker]