From c5df7e0325c0b5465f3ad14316275477a0bc35cb Mon Sep 17 00:00:00 2001 From: Ilona Shishov Date: Wed, 6 Mar 2024 11:40:44 +0200 Subject: [PATCH] chore: upgrade changelog notes injection process in staging workflow Signed-off-by: Ilona Shishov --- .github/workflows/stage.yml | 6 ++++-- CHANGELOG.md | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 5183a503d..ee15b78dd 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -88,10 +88,12 @@ jobs: else echo "version=$version" >> "$GITHUB_OUTPUT" - notes="${notes//$'`'/%60}" + notes="${notes//$''/%27}" + notes="${notes//$''/%60}" + notes="${notes//$'\n'/'%0A'}" + notes="${notes//$'\r'/'%0D'}" delimiter="$(openssl rand -hex 8)" echo "notes<<${delimiter}" >> "$GITHUB_OUTPUT" - echo "## Changelog" >> "$GITHUB_OUTPUT" echo "$notes" >> "$GITHUB_OUTPUT" echo "${delimiter}" >> "$GITHUB_OUTPUT" fi diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c492fde..b08c684f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ # Change Log ## 0.9.3 (?) - enhancement - Red Hat Dependency Analytics reporting has integrated the ONGuard service by using [Open Source Vulnerability (OSV)](https://google.github.io/osv.dev/) and the [National Vulnerability Database (NVD)](https://nvd.nist.gov/) data sources for additional vulnerability information. -- enhancement - Integrated VS Code's [Secret Storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) feature for securing the Snyk token. See [PR689](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/689) for details. - fixes - Fixed an issue with displaying wrong data when the event handler for Component Analysis was triggered on a unsaved manifest file. Component Analysis is no longer triggered on unsaved manifest files. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details. - fixes - Fixed an issue where the diagnostic source name is being obscured in the View Problem panel from an inline analysis. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details. - informational - The naming convention for VS Code commands has changed from `fabric8` to `rhda`. For example, `fabric8.stackAnalysis` is now `rhda.stackAnalysis`.