diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 9928a6f1..bb93cce5 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -90,7 +90,7 @@ Output will be something like (`...` denoting parts elided for brevity): Done -You should now have one new/updated folder `dist.win32` and two new files (version number dependent): `EDMarketConnector_win_350.msi` and `appcast_win_350.xml`. If you want to just check the generated .exe files then they're in that `dist.win32` folder. +You should now have one new/updated folder `dist.win32` and two new files (version number dependent): `EDMarketConnector_win_3.5.0.0.msi` and `appcast_win_3.5.0.0.xml`. If you want to just check the generated .exe files then they're in that `dist.win32` folder. Now check that the `EDMarketConnector.exe` in the `dist.win32` folder does run without errors. @@ -100,31 +100,39 @@ Distribution --- It is recommended to keep all the files for distribution on github, including the 'update_feed' file. So once you have tested the new .msi file -1. So as to make backing out any mistakes easier create a new branch for this release, e.g. `release-350`. 'release' is in full so as not to clash with the tag `rel-350` which could cause confusion. Ensure all the relevant commits, and no more than them, are present in this branch. This branch will be local to only you, you shouldn't ever push it to GitHub unless asked to by another maintainer. +**Version numbers should always be referred to in full, e.g. A.B.C.D not the old A.BC scheme.** + +We'll use an old version number, 3.5.0.0, as an example throughout the following. 1. You should have already decided on the new version number, as it's specified in `config.py`. You'll need to redo the `.msi` build if you forgot. **Remember to do a fresh git commit for this change.** - 1. Keep in mind that despite being specified as, e.g. '3.5.0.0' the `setup.py` code only takes note of the first 3 parts for deciding the release number. i.e. `3.5.0.1` results in the same `rel-350/EDMarketConnector_win_350.msi` as '3.5.0.0' does. Also the installer won't think that '3.5.0.1' is any newer than '3.5.0.0'. + +1. So as to make backing out any mistakes easier create a new branch for this release, e.g. `release-3.5.0.0`. 'release' is in full so as not to clash with the tag `rel-3.5.0.0` which could cause confusion. Ensure all the relevant commits, and no more than them, are present in this branch. + 1. `git checkout releases` + 1. `git pull origin` # Ensures local `releases` branch is up to date. + 1. `git checkout -b release-3.5.0.0` + +Now get all the relevant code changes into this branch. This might mean merging from another branch, such as an issue-specific one, or possibly cherry-picking commits. See [Contributing Guidelines](docs/Contributing.md) for how such branches should be named. 1. Prepare a changelog text for the release. You'll need this both for the GitHub release and the contents of the `edmarketconnector.xml` file. + 1. The primary location of the changelog is [Changelog.md](Changelog.md) - update this first. 1. Update `edmarketconnector.xml` to add this changelog text to the correct section(s). 1. You'll need to change the `