Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.41 KB

release-process.md

File metadata and controls

56 lines (42 loc) · 1.41 KB

Release Process

Web wallet

Staging:

Production:

  • ensure https://wallet.stg.oasis.io/ works
    • especially features related to changes
    • look at CSP errors (expect one error: blocked eval in inquire)
  • see the footer for what commit is deployed
  • update stable branch to that commit
  • yarn install --frozen-lockfile && yarn build
  • deploy to https://wallet.oasis.io/

Deploy

Manually deploy ./build/ folder by following https://github.com/oasisprotocol/oasis-wallet-web/wiki/Deployment-on-AWS.

Verify deployed version by opening the page in incognito (no cache) - it is displayed in the footer.

Update Content-Security-Policy and Permissions-Policy headers.

# See old 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"

TODO: Extension wallet

  • Update version in manifest.json
  • Changelog
  • Commit
  • Make PR and merge
  • Git tag
  • Build
VERSION=`cat extension/src/manifest.json | jq .version -r`
COMMIT=`git rev-parse --short HEAD`
yarn install --frozen-lockfile
yarn build:ext
zip -r oasis-wallet-$VERSION-$COMMIT.zip build-ext/
  • GitHub pre-release with zip file
  • Chrome store
  • Update pre-release