Something went wrong. Try again.
Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
Something went wrong. Try again.
2.3 kB
Markdown
Deployments #
We deploy yomitan to the Firefox and Chrome webstore via two channels -- the dev build and the stable build. We do this via a series of GitHub Actions.
Only collaborators with deployment permissions are allowed to deploy.
Deploying a dev build #
- Tag the commit with a version number. Like:
git tag 24.4.28.0 HEAD(do this after pulling in the latest changes in master) orgit tag 24.4.28.0 abc123
Warning
You can not use leading zeroes in the version tags (e.g. 24.04.28.0). Firefox store does not allow them and the deploy will fail.
- Push the tag to origin.
git push origin 24.4.28.0 - The
Create prerelease on tagGH workflow will run and will publish a new release in Releases as well as kick off a workflow each for publishing to Firefox and Chrome. - Find the corresponding
publish-chrome-developmentGH action run and unblock the deployment. - Find the corresponding
publish-firefox-developmentGH action run and unblock the deployment. - Wait anywhere between 5mins to a few hours for the build to show up on the Chrome extension page. Firefox does not have a yomitan dev listing and users would have to down the extension locally from "Assets" section of each release.
Deploying a stable build #
- Go to "Releases" and pick a version you want to promote to stable.
- On the top right corner click on "Edit" and on the bottom there are two options
Set as a pre-releaseandSet as the latest release. UncheckSet as a pre-releaseand checkSet as the latest release. - This will trigger the
releaseworkflow which will in turn trigger thepublish-chromeandpublish-firefoxGH workflows. - Unblock
publish-chromeandpublish-firefoxrespectively and wait 5 mins to a few hours for the extensions to reflect on Chrome and Firefox