From 3dd1be3506990b992b0bf811ea10b3944d38b10d Mon Sep 17 00:00:00 2001 From: mediaminister Date: Mon, 21 Oct 2024 12:49:24 +0200 Subject: [PATCH] Fix release workflow --- .github/workflows/release.yml | 4 ++-- README.md | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75d525b..e3b1118 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Get changelog id: get-changelog run: | - description=$(sed '0,/^## Changelog$/d;/^$/d;/## [v0-9\.]*/d;/^-/!d' README.md) + description=$(sed '0,/^## Changelog$/d;/## \[v[0-9\.]*/d;/^$/,$d' README.md) echo $description EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) echo "body<<$EOF" >> $GITHUB_OUTPUT @@ -25,7 +25,7 @@ jobs: run: scripts/build.py - name: Create Release on Github - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: body: ${{ steps.get-changelog.outputs.body }} draft: false diff --git a/README.md b/README.md index 9465376..0f78b12 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,9 @@ De volgende features worden ondersteund: ## Changelog - ## [v0.5.1](https://github.com/add-ons/plugin.video.goplay/tree/v0.5.1) (2024-10-21) - - Fix caching (@mediaminister) - Add support for external Widevine device (@mediaminister) ## [v0.5.0](https://github.com/add-ons/plugin.video.goplay/tree/v0.5.0) (2024-09-11) - - Update to new GoPlay API (@mediaminister)