-
Notifications
You must be signed in to change notification settings - Fork 39
Release Procedure
thekingofcity edited this page Sep 9, 2021
·
12 revisions
- push something to the master
- build the project by manually triggering the
build 2job in the Github actions - find the latest version at https://github.com/wongchito/uat-rail-map-generator, or in the action log
- preview the project by manually triggering the
releasejob(version: the latest version in step 3, Environment: UAT) - view the uat at https://wongchito.github.io/uat-rail-map-generator
- release the project by manually triggering the
releasejob(version: the latest version in step 3, Environment: PRD) - view the released version at https://wongchito.github.io/RailMapGenerator
- Set environment variable
$Env:PUBLIC_URL="./". - Build the latest via
npm run build. - Build Electron package
.\\node_modules\\.bin\\electron-builder -c.extraMetadata.main=build/electron.js.
- (Optional, done by
releaseCI job) Commit something and tag it withrmg-likegit commit -m "sth" && git tag rmg-3.9.20 && git push && git push --tags. - Wait for the
Build Electronjob to complete. - Check the Release page https://github.com/wongchito/RailMapGenerator/releases where the
github-actionshas drafted a version with all the packages for you.