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.
This commit is contained in:
2025-08-23 19:49:58 +02:00
parent b240cea6ca
commit 20f4de9ef9
+1 -1
View File
@@ -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: