From 20f4de9ef9485bede40de180339c0b06d8c979de Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 23 Aug 2025 19:49:58 +0200 Subject: [PATCH] fix: escape single quotes in changelog generation script Update the command in the GitLab CI configuration to properly escape single quotes in the `sed` command for generating the CHANGELOG.md. This ensures that the command executes correctly in the CI environment, preventing potential syntax errors during the build process. --- Release.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release.gitlab-ci.yml b/Release.gitlab-ci.yml index 0d31c67..a8e0762 100644 --- a/Release.gitlab-ci.yml +++ b/Release.gitlab-ci.yml @@ -28,7 +28,7 @@ unbound_release_changelog: script: - 'echo "Generating changelog"' - 'git-cliff --bump --unreleased --strip header > CHANGES.md' - - 'git-cliff --bump | sed 's/\s\+$//' > CHANGELOG.md' + - 'git-cliff --bump | sed '\''s/\s\+$//'\'' > CHANGELOG.md' - 'echo "Bumping version"' - 'git-cliff --bumped-version 2>/dev/null > VERSION' artifacts: -- 2.52.0