|
| 1 | +# OpenEVSE Process Documentation |
| 2 | + |
| 3 | +## Change management |
| 4 | + |
| 5 | +Change requests and bug reports are are submitted through the [GitHub issue tracker](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/issues). There should be a single issue/bug/feature per ticket. |
| 6 | + |
| 7 | +All changes should be mage on a branch or fork of the `master` branch and the change should be submitted through a GitHub pull request. Pull requests will be reviewed by a repository administrator before being merged into the `master` branch. For changes by the repository administrator, the pull request should be reviewed by another administrator before being merging. |
| 8 | + |
| 9 | +## Building |
| 10 | + |
| 11 | +Instructions on building the firmware an be found in the [Developer Guide](developer-guide.md). |
| 12 | + |
| 13 | +For releases and PR approval the builds are built using the [Build/Release OpenEVSE](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/actions/workflows/build.yaml) workflow to ensure consistent behaviour. |
| 14 | + |
| 15 | +## Testing |
| 16 | + |
| 17 | +> TODO |
| 18 | +
|
| 19 | +## Creating a new Releases |
| 20 | + |
| 21 | +1. Ensure GitHub actions are complete and green |
| 22 | + [](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/actions/workflows/build.yaml) |
| 23 | +1. Check the [version number](https://semver.org/) is correct |
| 24 | +1. Go to the latest [Development Build](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/releases/tag/latest) release |
| 25 | +1. Edit the release |
| 26 | +1. Change the tag from latest to the [version number](https://semver.org/), for example: `v1.0.0` |
| 27 | +1. Change the branch to `latest`, is not automatically filled in so have to type the name in. Will show the appropriate commit hash on pressing enter |
| 28 | +1. Enter the version number as the release name, for example: `v1.0.0` |
| 29 | +1. Add the release notes, a good start is to use the `Auto-Generated Release Notes` and edit as needed |
| 30 | +1. Remove any unwanted binaries, need at least: |
| 31 | + - `openevse_esp32-gateway-e.bin` |
| 32 | + - `openevse_huzzah32.bin` |
| 33 | + - `openevse_wifi_v1.bin` |
| 34 | + - `openevse_esp-wrover-kit` |
| 35 | + - `openevse_nodemcu-32s` |
| 36 | +1. Unselect the `Pre-release` checkbox |
| 37 | +1. Click `Update release` |
| 38 | +1. Ensure the release validation action is green |
| 39 | + [](https://github.com/OpenEVSE/ESP32_WiFi_V4.x/actions/workflows/release_validation.yaml) |
0 commit comments