Make a release:
-
pip3 install --upgrade \ https://github.com/oasisprotocol/towncrier/archive/oasis-master.tar.gz
-
yarn changelog, commit "Assemble changes for ___ release", and merge PR -
yarn release-tag(.github/workflows/release.yml then creates a github release)
Staging:
- download from releases
- deploy to https://wallet.stg.oasis.io/
Production:
- ensure https://wallet.stg.oasis.io/ works
- especially features related to changes
- look at CSP errors
- see the footer for what commit is deployed
- deploy staged build to https://wallet.oasis.io/
Update Terraform module in oasisprotocol/internal-ops with security headers from Content-Security-Policy.txt and Permissions-Policy.txt, e.g. https://github.com/oasisprotocol/internal-ops/pull/1022/changes
Verify deployed version by opening the page in incognito (no cache) - it is displayed in the footer.
Verify security headers were updated:
-
See deployed headers
curl --head https://wallet.stg.oasis.io/ -s | grep "content-security-policy\|permissions-policy" curl --head https://wallet.oasis.io/ -s | grep "content-security-policy\|permissions-policy"
-
Compare to Content-Security-Policy.txt and Permissions-Policy.txt in releases
- download rose-wallet-ext-*.zip from releases
- download screenshots
- upload to Chrome Web Store
- download rose-wallet-android-*.aab from releases
- download screenshots
- upload to Play Store
- promote to production and wait for google to review