From 4e7851dff5e18d8dc0538fdc6f4de2d7b803b678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Mon, 30 Mar 2026 08:00:59 +0800 Subject: [PATCH] fix(ci): quote commands with colons to fix YAML parsing --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 64d3691..56b3913 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -174,9 +174,9 @@ steps: - echo "Current branch is $CURRENT_BRANCH" - git checkout main - git pull origin main - - git merge "$CURRENT_BRANCH" --no-ff -m "chore: archive ${CURRENT_BRANCH}" + - 'git merge "$CURRENT_BRANCH" --no-ff -m "archive $CURRENT_BRANCH"' - VERSION_TAG="v$(date +%Y.%m.%d)-${CI_COMMIT_SHA:0:7}" - - git tag -a "$VERSION_TAG" -m "Release from ${CURRENT_BRANCH}" + - 'git tag -a "$VERSION_TAG" -m "Release from $CURRENT_BRANCH"' - git push origin main && git push origin --tags - echo "Archive succeeded with version $VERSION_TAG" when: