Google Chrome Extension for Screenly
Easily add content to your Screenly digital signage displays in a few clicks. :sparkles:
:seedling: Install
:computer: Develop
The extension is built using webpack.
$ docker compose up --build
Now load the content of the dist/
folder as an unpacked extension in Chrome. As you make changes to the code, the extension is automatically rebuilt.
Distribute
$ VERSION=<EXTENSION_VERSION> ./bin/package_extension.sh
:test_tube: Run Unit Tests
$ ./bin/run_tests.sh
- Build the extension in dev mode.
- Load the extension as an unpacked extension from the
dist
folder.
- Find the extension URL and then open
chrome-extension://extension-id/test/tests.html
in Chrome.
:rocket: Release
- Generate a new release tag in
git
:
$ git pull
$ git checkout master
$ git tag
[...]
$ git tag -a vX.Y.Z -m "tl;dr changelog."
$ git push origin vX.Y.Z
- Navigate to the GitHub releases and click ‘Draft a new release’.
- Select the tag you just created above and provide a release title and description.
- You can use
git diff v0.2.0..v0.3.0
to diff between the current and previous release to help you with the changelog.
- Go to the CI Job and pull down the release
.zip
file for the release you created.
- You can verify the
.zip
file you downloaded with the GitHub CLI by running gh attestation verify path/to/release.zip --owner Screenly
.
- Navigate to Chrome Web Store Developer Dashboard.
- Select the right publisher account and upload the
.zip
file you downloaded before.