fix(ci): quote commands with colons to fix YAML parsing
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user