From 963e0d7455705d5052366776efce90ff9ab98890 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 | 7 +++++-- CHANGELOG.md | 6 +----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 5183a503d..fe169a766 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -88,10 +88,13 @@ 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 "%23%23 Changelog" >> "$GITHUB_OUTPUT" echo "$notes" >> "$GITHUB_OUTPUT" echo "${delimiter}" >> "$GITHUB_OUTPUT" fi diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c492fde..66578207e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +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`. +HelloWorld ## 0.9.2 (Feb 5th 2024) - informational - The `redHatDependencyAnalyticsReportFilePath` setting name has changed to `reportFilePath`. If you had a custom file path set for `redHatDependencyAnalyticsReportFilePath`, then you need to add your custom file path to the `reportFilePath` setting. - enhancement - Added a vulnerability severity alert level setting for the user to receive inline notifications for just errors or warnings. See [PR#674](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/674) for details.