Rename "unstable" release to "canary"
This commit is contained in:
1 parent
f60d8b6caf
commit
38a054a46a
6 files changed
+21
-17
No files matched your search
@@ -52,18 +52,18 @@ jobs:
|
|||||||
- name: Run Analysis on Playlet App
|
- name: Run Analysis on Playlet App
|
||||||
run: ./sca-cmd/bin/sca-cmd ./release/playlet.zip --exit error
|
run: ./sca-cmd/bin/sca-cmd ./release/playlet.zip --exit error
|
||||||
|
|
||||||
- name: Delete unstable release
|
- name: Delete Canary release
|
||||||
uses: dev-drprasad/delete-tag-and-release@v1.0
|
uses: dev-drprasad/delete-tag-and-release@v1.0
|
||||||
with:
|
with:
|
||||||
tag_name: unstable
|
tag_name: canary
|
||||||
github_token: ${{ secrets.GH_TOKEN }}
|
github_token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Extract changelog
|
- name: Extract changelog
|
||||||
run: |
|
run: |
|
||||||
latest_release=$(awk 'BEGIN { RS="## \\[" } NR==2 { print "## ["$0 }' CHANGELOG.md)
|
latest_release=$(awk 'BEGIN { RS="## \\[" } NR==2 { print "## ["$0 }' CHANGELOG.md)
|
||||||
echo -e "\n$latest_release" >> docs/unstable-changelog.md
|
echo -e "\n$latest_release" >> docs/canary-changelog.md
|
||||||
|
|
||||||
- name: Create unstable release
|
- name: Create Canary release
|
||||||
run: gh release create unstable ./release/playlet.zip ./release/playlet-lib.zip --notes-file docs/unstable-changelog.md --prerelease --title unstable
|
run: gh release create canary ./release/playlet.zip ./release/playlet-lib.zip --notes-file docs/canary-changelog.md --prerelease --title Canary
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- A field to indicate when a playlist was last updated
|
- A field to indicate when a playlist was last updated
|
||||||
- Voice search in search page
|
- Voice search in search page
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Renamed `Unstable` releases to `Canary`
|
||||||
|
|
||||||
## [0.11.0] - 2023-09-10
|
## [0.11.0] - 2023-09-10
|
||||||
|
|
||||||
This version went through a major refactor, which resulted in a different arcitecture of the app to support new features, the rewrite of many pieces, as well as new features.
|
This version went through a major refactor, which resulted in a different arcitecture of the app to support new features, the rewrite of many pieces, as well as new features.
|
||||||
|
|||||||
+3
-3
@@ -290,7 +290,7 @@ The developer settings are only visible through the web app. They are found at t
|
|||||||
|
|
||||||
For now, it allows you to point to a different Github release other than the default `latest`.
|
For now, it allows you to point to a different Github release other than the default `latest`.
|
||||||
|
|
||||||
This is mostly useful to QA the `unstable` release in a "production" setting before making it available to all users as the official "latest" version. Consider the `unstable` version a [Canary release](https://en.wikipedia.org/wiki/Feature_toggle#Canary_release)
|
This is mostly useful to QA the `canary` release (see [Canary release](https://en.wikipedia.org/wiki/Feature_toggle#Canary_release)) in a "production" setting before making it available to all users as the official "latest" version.
|
||||||
|
|
||||||
#### In case of a softlock
|
#### In case of a softlock
|
||||||
|
|
||||||
@@ -306,8 +306,8 @@ This will remove the custom lib, and revert to using default (latest release fro
|
|||||||
|
|
||||||
On pull requests, a Github action will run `lint:fix` and `format:fix` and push changes to the PR branch, to keep things tidy.
|
On pull requests, a Github action will run `lint:fix` and `format:fix` and push changes to the PR branch, to keep things tidy.
|
||||||
|
|
||||||
When merged to main branch, a Github action will build Playlet, run static analysis using Roku's [Static Channel Analysis tool](https://devtools.web.roku.com/#static-channel-analysis-tool), and release a new version tagged `unstable`, with the build artifacts attached, and changelog included.
|
When merged to main branch, a Github action will build Playlet, run static analysis using Roku's [Static Channel Analysis tool](https://devtools.web.roku.com/#static-channel-analysis-tool), and release a new version tagged `canary`, with the build artifacts attached, and changelog included.
|
||||||
|
|
||||||
Existing `unstable` release will be removed before creating a new one.
|
Existing `canary` release will be removed before creating a new one.
|
||||||
|
|
||||||
This makes [Releasing](./RELEASING.md) simpler.
|
This makes [Releasing](./RELEASING.md) simpler.
|
||||||
+5
-5
@@ -3,10 +3,10 @@
|
|||||||
# Releasing
|
# Releasing
|
||||||
|
|
||||||
The release process for Playlet is very simple, since most of the work is automated.
|
The release process for Playlet is very simple, since most of the work is automated.
|
||||||
The automation makes `unstable` releases.
|
The automation makes `canary` releases.
|
||||||
|
|
||||||
```makefile
|
```makefile
|
||||||
unstable release + QA = stable version
|
canary release + QA = stable version
|
||||||
```
|
```
|
||||||
|
|
||||||
These are mostly the steps when releasing a new version:
|
These are mostly the steps when releasing a new version:
|
||||||
@@ -23,12 +23,12 @@ These are mostly the steps when releasing a new version:
|
|||||||
- Title: `Release v$VERSION`
|
- Title: `Release v$VERSION`
|
||||||
- Comment: `Release $VERSION \nIt should contain everything planned from #6`
|
- Comment: `Release $VERSION \nIt should contain everything planned from #6`
|
||||||
- Wait for CI and merge
|
- Wait for CI and merge
|
||||||
- Wait for CI on main branch to create the `unstable` release
|
- Wait for CI on main branch to create the `canary` release
|
||||||
- Edit `unstable` release
|
- Edit `canary` release
|
||||||
- Tag: `v$VERSION`
|
- Tag: `v$VERSION`
|
||||||
- Title: `v$VERSION`
|
- Title: `v$VERSION`
|
||||||
- Body: the content from CHANGELOG.md for this version
|
- Body: the content from CHANGELOG.md for this version
|
||||||
- This should be already included, just remove the notes about testing the unstable release
|
- This should be already included, just remove the notes about testing the canary release
|
||||||
- Uncheck `Set as a pre-release`
|
- Uncheck `Set as a pre-release`
|
||||||
- Check `Set as the latest release`
|
- Check `Set as the latest release`
|
||||||
- Click `update release`
|
- Click `update release`
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ To test this release:
|
|||||||
|
|
||||||
- Open Playlet web app in a browser (`http://ROKU_IP_ADDRESS:8888/index.html`)
|
- Open Playlet web app in a browser (`http://ROKU_IP_ADDRESS:8888/index.html`)
|
||||||
- Go to settings, and scroll down to `Developer settings`
|
- Go to settings, and scroll down to `Developer settings`
|
||||||
- Set `Playlet Library version` to `unstable` and click `Apply`
|
- Set `Playlet Library version` to `canary` and click `Apply`
|
||||||
- Restart Playlet
|
- Restart Playlet
|
||||||
- You can verify that you're testing the `unstable` release in the `Info` tab in Playlet or the web app
|
- You can verify that you're testing the `canary` release in the `Info` tab in Playlet or the web app
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
if (
|
if (
|
||||||
value?.app?.lib_url_type === "custom" &&
|
value?.app?.lib_url_type === "custom" &&
|
||||||
value?.app?.lib_url ===
|
value?.app?.lib_url ===
|
||||||
"https://github.com/iBicha/playlet/releases/download/unstable/playlet-lib.zip"
|
"https://github.com/iBicha/playlet/releases/download/canary/playlet-lib.zip"
|
||||||
) {
|
) {
|
||||||
version += "-unstable";
|
version += "-canary";
|
||||||
}
|
}
|
||||||
loggedIn = value?.invidious?.logged_in;
|
loggedIn = value?.invidious?.logged_in;
|
||||||
auth_url = value?.invidious?.auth_url;
|
auth_url = value?.invidious?.auth_url;
|
||||||
|
|||||||
Reference in new issue
Block a user