From 6c84630cecb186ed9f07a253660e455c4608e81a Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 25 Jun 2023 11:37:46 -0400 Subject: [PATCH] Better changelogs for automated releases --- .github/workflows/release.yml | 2 +- docs/unstable-changelog.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 docs/unstable-changelog.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb214537..e9f9f443 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,6 @@ jobs: github_token: ${{ secrets.GH_TOKEN }} - name: Create unstable release - run: gh release create unstable ./release/playlet.zip ./playlet/src/lib/playlet-lib.zip --notes "This is an automated release." --prerelease --title unstable + run: gh release create unstable ./release/playlet.zip ./playlet/src/lib/playlet-lib.zip --notes-file docs/unstable-changelog.md --prerelease --title unstable env: GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/docs/unstable-changelog.md b/docs/unstable-changelog.md new file mode 100644 index 00000000..ed1101ac --- /dev/null +++ b/docs/unstable-changelog.md @@ -0,0 +1,9 @@ +This is an automated release. It is generated when new code is pushed to the main branch. + +To test this release: + +- Open Playlet web app in dev mode (`http://ROKU_IP_ADDRESS:8888/index.html?dev=1`) +- Go to settings, and scroll down to `Developer settings` +- Set `Playlet Library version` to `unstable` and click `Apply` +- Restart Playlet +- You can verify that you're testing the `unstable` release in the `Info` tab in Playlet or the web app \ No newline at end of file