Requestly Release Process

This article (including all other articles under Developers category) are meant for Requestly development team only. If you have any suggestions, please feel free to suggest.

Steps

Before Release

  • Checkout master branch and fetch latest code git checkout master && git pull origin master
  • Checkout production branch – git checkout production && git pull origin production
  • Merge master branch to it – git merge master
  • Update version number in ``` manifest_chrome.json, mainfest_firefox.json, manifest_edge.json, config/version.json, components/browser-extension/package.json

Release Chrome

  • Change browser to chrome in the configs ./rq-config browser=chrome env=prod
  • Build all the components to test for prod on local machine ./build.sh prod
  • Run Unit tests – ./test.sh
  • Refresh chrome://extensions and click on extension icon and run the sample rule
  • Switch to browser-extension directory cd components/browser-extension
  • Run build command – grunt release-chrome
  • Upload the build to Chrome Store
  • Delete the earliest build. We want to keep only 3 previous builds
  • cd ../..

Release Edge

  • Change browser to chrome in the configs ./rq-config browser=edge env=prod
  • Build all the components to test for prod on local machine ./build.sh prod
  • Run Unit tests – ./test.sh
  • Open edge://extensions and click on extension icon and run the sample rule
  • Switch to browser-extension directory cd components/browser-extension
  • Run build command – grunt release-edge
  • Upload the build to Edge Store
  • Delete the earliest build. We want to keep only 3 previous builds
  • cd ../..

Release Firefox

  • Change browser to chrome in the configs ./rq-config browser=firefox env=prod
  • ``Run command – ./release_firefox.sh
  • Copy requestly artefact inside app/public/firefox/builds directory and save it as requestly-latest.xpi
  • Update latest version in updates.json inside same directory

Post Release

  • Enable Logger in logger.js
  • Commit the files – git add .. && git commit -am "Requestly va.b.c released"
  • Push to production branch – git push origin production
  • Add tag – git tag -a va.b.c -m "Requestly va.b.c released"
  • Push the tags – git push --tags origin
  • Merge to master – git checkout master && git merge production
  • Change browser to chrome ./rq-config browser=chrome env=beta && ./build.sh beta
  • Push master – git push origin master

Get to know Requestly

Become a 10x developer by using Requestly in your development & testing workflows.

No spam guaranteed :)