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:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user