Skip to content

Release Procedure

thekingofcity edited this page Apr 9, 2022 · 12 revisions

Build and Release on UAT and PRD

  1. Push something to master.
  2. Build the project by manually triggering the build 2 job in the Github actions.
  3. Find the latest version at https://github.com/wongchito/uat-rail-map-generator, or in the action log.
  4. Preview the project by manually triggering the release job(version: the latest version in step 3, Environment: UAT).
  5. View the UAT at https://wongchito.github.io/uat-rail-map-generator.
  6. Release the project by manually triggering the release job(version: the latest version in step 3, Environment: PRD).
  7. View the released version at https://wongchito.github.io/RailMapGenerator.

Build Electron test package

  1. Set environment variable $Env:PUBLIC_URL="./".
  2. Build the latest via npm run build.
  3. Build Electron package npm run electron-package.

Release Electron package in Github

  1. Commit something and tag it with rmg- like git commit -m "sth" && git tag rmg-3.9.20 && git push && git push --tags.
  2. Wait for the Build Electron job to complete.
  3. Check the Release page https://github.com/railmapgen/rmg/releases where the github-actions has drafted a version with all the packages for you.
Clone this wiki locally