diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 83d9dfd..35cd9fe 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -82,8 +82,8 @@ jobs: sudo apt-get install jq sh ./.github/workflows/retrieve_version.sh - - name: Get Release HTML - run: echo "release_html=$(jq -r '."desktop-release-notes.$VERSION"' ./dist/release_notes.json)" >> $GITHUB_ENV + - name: Get Release Notes HTML + run: echo "release_html=$(jq -r --arg version "$VERSION" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_ENV - run: rm -rf dist/release_notes.json diff --git a/utility/extract_release_notes.py b/utility/extract_release_notes.py index b755499..509d164 100644 --- a/utility/extract_release_notes.py +++ b/utility/extract_release_notes.py @@ -13,7 +13,7 @@ def build_html(data, first_launch=False): for i, element in enumerate(data): if element['type'] == 0: if first_launch and i == 0: - html += f"